/* Hors-Jeu Match Center — live editorial scoreboard */
.matches-page{
  --mc-ink:#edf2e8;--mc-muted:#9cad9b;--mc-line:rgba(235,243,228,.13);
  --mc-lime:#d9f28c;--mc-red:#ff7866;
  max-width:1240px;padding-top:clamp(28px,5vw,58px);padding-bottom:96px;
}
.matches-masthead{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:26px;padding:30px 0 27px;border-bottom:1px solid var(--line)}
.matches-eyebrow{display:flex;align-items:center;gap:9px;color:#788478;font:500 10px/1.3 var(--mono);letter-spacing:.16em;text-transform:uppercase}
.matches-eyebrow:before{content:"";width:24px;height:1px;background:var(--red)}
.matches-masthead h1{max-width:780px;margin:17px 0 13px;color:var(--ink);font:800 clamp(43px,7vw,82px)/.94 var(--serif);letter-spacing:-.065em}
.matches-masthead h1 em{color:var(--red);font-weight:600}
.matches-masthead p{max-width:620px;margin:0;color:#727a70;font-size:13px;line-height:1.75}
.matches-date-panel{display:grid;justify-items:end;gap:10px;min-width:215px}
.matches-date-kicker{color:#8b9588;font:9px var(--mono);letter-spacing:.13em;text-transform:uppercase}
.matches-date-value{color:var(--ink);font:700 clamp(22px,3vw,32px)/1 var(--serif);letter-spacing:-.035em}
.matches-date-nav{display:flex;align-items:center;gap:5px;padding:4px;border:1px solid #d8d9ce;border-radius:99px;background:#eeece3}
.matches-date-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:33px;padding:0 11px;border-radius:99px;color:#5d695d;font:500 9px var(--mono);text-decoration:none;transition:background .18s,color .18s,transform .18s}
.matches-date-nav a:hover{background:#1b3021;color:#eff5e9;transform:translateY(-1px)}
.matches-date-nav a.is-current{background:#1b3021;color:#eff5e9;box-shadow:0 3px 9px #182b1b22}
.matches-overview{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 16px}
.matches-overview-copy{display:grid;gap:5px}
.matches-overview-copy strong{color:#24352a;font:700 17px var(--serif)}
.matches-overview-copy span{color:#879084;font:9px var(--mono);letter-spacing:.09em;text-transform:uppercase}
.matches-overview-stats{display:flex;align-items:center;gap:8px}
.matches-stat{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #ddded4;border-radius:7px;background:#eeece4;color:#657164;font:9px var(--mono);white-space:nowrap}
.matches-stat b{color:#26382c;font-size:12px;font-weight:700}
.matches-stat.live-stat{border-color:#efc9c0;background:#fff0eb;color:#a84a3d}
.matches-stat.live-stat b{color:#b34436}
.matches-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;padding:10px;border:1px solid #e0dfd5;border-radius:11px;background:#eeece4}
.matches-filter-list{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.matches-filter{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 12px;border:1px solid transparent;border-radius:7px;background:transparent;color:#6d796c;font:500 10px var(--mono);cursor:pointer;transition:background .18s,color .18s,border-color .18s,transform .18s}
.matches-filter:hover{color:#1b3021;background:#e3e5d9}
.matches-filter:active{transform:scale(.97)}
.matches-filter[aria-pressed="true"]{border-color:#243b2a;background:#1b3021;color:#f2f5e9;box-shadow:0 3px 9px #14261920}
.matches-filter-count{color:inherit;font-size:9px;opacity:.72}
.matches-search{display:flex;align-items:center;gap:9px;width:min(100%,245px);min-height:36px;padding:0 11px;border:1px solid #d8dacf;border-radius:7px;background:#f7f6f0;color:#899486}
.matches-search svg{width:15px;height:15px;flex:0 0 auto}
.matches-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#203226;font-size:11px}
.matches-search input::placeholder{color:#9aa396}
.matches-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.matches-card{
  --mc-accent:#c7d998;position:relative;isolation:isolate;display:grid;grid-template-rows:auto 1fr auto;min-width:0;min-height:224px;overflow:hidden;
  padding:18px 19px 15px;border:1px solid #2c4733;border-radius:13px;
  background:radial-gradient(ellipse at 50% -35%,#385942 0%,transparent 66%),linear-gradient(140deg,#1b3323 0%,#14271b 54%,#102318 100%);
  color:var(--mc-ink);box-shadow:0 8px 22px #14251913,0 1px 1px #101d1420;
  transition:transform .22s cubic-bezier(.2,.75,.25,1),box-shadow .22s,border-color .22s;
  animation:mc-card-enter .45s both;
}
.matches-card:before{position:absolute;z-index:-1;content:"";pointer-events:none;width:290px;height:290px;left:50%;top:46%;transform:translate(-50%,-50%);border:1px solid #d7f28c12;border-radius:50%;box-shadow:0 0 0 37px #d7f28c08,0 0 0 75px #d7f28c05}
.matches-card:after{position:absolute;z-index:-1;content:"";pointer-events:none;inset:0;background:linear-gradient(90deg,transparent 49.85%,#d7f28c0a 50%,transparent 50.15%),linear-gradient(180deg,#ffffff07,transparent 42%)}
.matches-card:hover{transform:translateY(-4px);border-color:#7d9a67;box-shadow:0 18px 36px #10211626,0 3px 8px #10211618}
.matches-card.is-live{--mc-accent:#ff8a78;border-color:#8f4a3d;background:radial-gradient(ellipse at 50% -35%,#694138 0%,transparent 65%),linear-gradient(140deg,#30251f 0%,#1d2820 60%,#14271b 100%);box-shadow:0 8px 24px #8f3f2c15}
.matches-card.is-finished{--mc-accent:#d9f28c}
.matches-card.is-upcoming{--mc-accent:#e8d49d}
.matches-card.is-delayed{--mc-accent:#e5ba78}
.matches-card-top{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding-bottom:12px;border-bottom:1px solid var(--mc-line)}
.matches-competition{display:flex;align-items:center;gap:8px;min-width:0;color:#b3c1b1;font:500 9px/1.4 var(--mono);letter-spacing:.1em;text-transform:uppercase}
.matches-competition-mark{position:relative;width:21px;height:21px;flex:0 0 21px;display:grid;place-items:center;border:1px solid #d9f28c37;border-radius:6px;background:#d9f28c0c;color:var(--mc-lime);font:700 9px var(--mono)}
.matches-competition-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.matches-status{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;padding:6px 9px;border:1px solid #ffffff1d;border-radius:99px;background:#ffffff08;color:#c4d0c2;font:600 8px var(--mono);letter-spacing:.11em;white-space:nowrap}
.matches-status:before{content:"";width:5px;height:5px;border-radius:50%;background:var(--mc-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--mc-accent) 15%,transparent)}
.matches-card.is-live .matches-status{border-color:#ff8a784d;background:#ff8a7812;color:#ffb6a9}
.matches-card.is-live .matches-status:before{animation:mc-live-pulse 1.5s infinite}
.matches-card.is-finished .matches-status{border-color:#d9f28c37;color:#d9f28c}
.matches-teams{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(94px,.62fr) minmax(0,1fr);align-items:center;gap:8px;padding:19px 0 17px}
.matches-club{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-width:0;text-align:center;transition:opacity .2s,transform .2s}
.matches-club.is-loser{opacity:.58}
.matches-club.is-winner .matches-crest{border-color:#d9f28c8c;box-shadow:0 0 0 4px #d9f28c13,0 8px 20px #0004}
.matches-club.is-winner strong{color:#e4f5b6}
.matches-crest{position:relative;display:grid;place-items:center;width:clamp(49px,6vw,60px);height:clamp(49px,6vw,60px);flex:0 0 auto;overflow:hidden;border:1px solid #ffffff20;border-radius:17px;background:linear-gradient(145deg,#fff 0%,#f0f1e9 100%);box-shadow:0 7px 17px #0003;color:#203629;font:800 13px var(--sans);transition:transform .22s,border-color .22s,box-shadow .22s}
.matches-card:hover .matches-crest{transform:translateY(-2px) rotate(-2deg)}
.matches-crest img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:7px;background:#fff}
.matches-crest img:not([src]),.matches-crest img[src=""]{display:none}
.matches-crest-fallback{font-size:12px;letter-spacing:-.04em}
.matches-club strong{display:block;max-width:100%;color:#f3f5ec;font:700 clamp(13px,1.55vw,17px)/1.15 var(--serif);letter-spacing:-.02em;overflow-wrap:anywhere}
.matches-club small{color:#91a18f;font:8px var(--mono);letter-spacing:.12em;text-transform:uppercase}
.matches-result{display:grid;justify-items:center;align-content:center;min-width:0;text-align:center}
.matches-score{display:flex;align-items:center;justify-content:center;gap:9px;color:#f8f8ef;font:800 clamp(31px,4vw,43px)/.95 var(--sans);letter-spacing:-.075em;font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 4px 18px #0004}
.matches-score i{color:#829781;font:400 25px var(--sans);font-style:normal}
.matches-score.is-pending{color:#d9e3d2;font-size:31px;letter-spacing:.03em}
.matches-result-caption{display:block;margin-top:10px;color:var(--mc-accent);font:600 8px var(--mono);letter-spacing:.13em;text-transform:uppercase}
.matches-result-time{display:block;margin-top:7px;color:#a8b5a6;font:10px var(--mono);font-variant-numeric:tabular-nums}
.matches-card-bottom{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding-top:12px;border-top:1px solid var(--mc-line)}
.matches-meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-width:0;color:#9cad9b;font:9px var(--mono)}
.matches-meta span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.matches-meta-dot{width:3px;height:3px;flex:0 0 3px;border-radius:50%;background:#738974}
.matches-card-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.matches-view-link{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #d9f28c45;border-radius:6px;color:#dff3b0;font:600 8px var(--mono);letter-spacing:.06em;text-decoration:none;white-space:nowrap;transition:background .18s,color .18s,border-color .18s}
.matches-view-link:hover{border-color:var(--mc-lime);background:var(--mc-lime);color:#17281c}
.matches-view-link span{font-size:12px;transition:transform .18s}
.matches-view-link:hover span{transform:translate(2px,-2px)}
.matches-card .hj-share-button{width:31px;height:31px;flex:0 0 31px;border:1px solid #ffffff24;border-radius:6px;background:#ffffff09;color:#c2d0be;transition:background .18s,color .18s,border-color .18s}
.matches-card .hj-share-button:hover{border-color:#d9f28c88;background:#d9f28c16;color:#e3f5b6}
.matches-card .hj-share-button svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.matches-card .hj-share-feedback{position:absolute;right:0;bottom:calc(100% + 5px);color:#d9f28c;font:9px var(--mono)}
.matches-no-results{grid-column:1/-1;display:grid;justify-items:center;gap:8px;padding:45px 18px;border:1px dashed #c8cbbd;border-radius:12px;color:#7d887a;text-align:center}
.matches-no-results[hidden]{display:none}
.matches-no-results strong{color:#2d4031;font:700 22px var(--serif)}
.matches-no-results span{font-size:11px;line-height:1.6}
.matches-refresh{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 12px;border:1px solid #d9dacf;border-radius:7px;background:#f7f6f0;color:#526251;font:500 9px var(--mono);cursor:pointer;transition:background .18s,color .18s,border-color .18s}
.matches-refresh:hover{border-color:#1c3523;background:#1c3523;color:#eef4e8}
.matches-refresh svg{width:14px;height:14px}
.matches-refresh:active svg{transform:rotate(35deg)}
.matches-empty-state{position:relative;overflow:hidden;margin-top:12px;padding:clamp(35px,6vw,72px) 22px;border:1px solid #d9ded2;border-radius:14px;background:radial-gradient(circle at 50% 0%,#e6eadc 0%,#f2f0e8 60%);text-align:center}
.matches-empty-orbit{position:relative;display:grid;place-items:center;width:72px;height:72px;margin:0 auto 19px;border:1px solid #c6cfbc;border-radius:50%;color:#315139;font:800 25px var(--serif)}
.matches-empty-orbit:before,.matches-empty-orbit:after{position:absolute;content:"";border:1px solid #d0d7c7;border-radius:50%}
.matches-empty-orbit:before{inset:-9px}.matches-empty-orbit:after{inset:10px}
.matches-empty-state h2{max-width:560px;margin:0 auto 12px;color:#1d3324;font:700 clamp(25px,4vw,37px)/1.08 var(--serif)}
.matches-empty-state p{max-width:590px;margin:0 auto;color:#758074;font-size:12px;line-height:1.75}
.matches-hidden{display:none!important}
@keyframes mc-card-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes mc-live-pulse{0%,100%{box-shadow:0 0 0 3px #ff8a7824;opacity:1}50%{box-shadow:0 0 0 6px #ff8a780c;opacity:.65}}
@media(max-width:900px){
 .matches-page{padding-top:28px}
 .matches-card{min-height:215px;padding:16px}
 .matches-card-actions{gap:5px}
 .matches-view-link{padding:8px}
}
@media(max-width:700px){
 .matches-page{padding-bottom:64px}
 .matches-masthead{grid-template-columns:1fr;gap:20px;padding:20px 0 22px}
 .matches-masthead h1{font-size:clamp(43px,10vw,66px)}
 .matches-date-panel{justify-items:start;min-width:0}
 .matches-date-nav{width:100%}
 .matches-date-nav a{flex:1}
 .matches-overview{align-items:flex-start;flex-direction:column;gap:11px;margin:18px 0 13px}
 .matches-overview-stats{width:100%;flex-wrap:wrap}
 .matches-controls{align-items:stretch;flex-direction:column;padding:9px}
 .matches-filter-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
 .matches-filter{justify-content:center;gap:5px;padding:0 5px;font-size:9px}
 .matches-search{width:100%}
 .matches-list{grid-template-columns:1fr;gap:11px}
 .matches-card{min-height:204px;padding:15px 15px 13px;border-radius:11px}
 .matches-teams{grid-template-columns:minmax(0,1fr) minmax(82px,.6fr) minmax(0,1fr);gap:5px;padding:17px 0 14px}
 .matches-crest{width:52px;height:52px;border-radius:15px}
 .matches-club strong{font-size:clamp(13px,3.8vw,16px)}
 .matches-score{font-size:clamp(32px,9vw,40px)}
 .matches-result-caption{margin-top:8px;font-size:7px}
 .matches-card-bottom{gap:7px}
 .matches-meta{font-size:8px}
 .matches-view-link{font-size:8px}
}
@media(max-width:380px){
 .matches-stat{padding:7px 8px;font-size:8px}
 .matches-filter{font-size:8px}
 .matches-teams{grid-template-columns:minmax(0,1fr) 75px minmax(0,1fr)}
 .matches-crest{width:46px;height:46px;border-radius:13px}
 .matches-club strong{font-size:12px}
 .matches-score{font-size:30px}
 .matches-view-link{padding:7px}
 .matches-card .hj-share-button{width:29px;height:29px;flex-basis:29px}
}
@media(hover:none){
 .matches-card:hover{transform:none}
 .matches-card:hover .matches-crest{transform:none}
}
@media(prefers-reduced-motion:reduce){
 .matches-card,.matches-crest,.matches-filter,.matches-date-nav a{animation:none!important;transition:none!important}
 .matches-card:hover{transform:none}
 .matches-status:before{animation:none!important}
}

.matches-empty-kicker{display:block;margin-bottom:17px;color:#9a6458;font:600 9px var(--mono);letter-spacing:.16em}
