/* UG matchday ledger — one editorial sheet per date, not a stack of cards. */
#schedule-page{--md-paper:#f3f2ed;--md-paper-alt:#e8ebe7;--md-ink:#18272d;--md-muted:#53656a;--md-rule:#cfd8d5;--md-teal:#266f73;--md-coral:#c45e3a}
#schedule-page .page-intro{padding:0 0 18px;margin-bottom:14px;border-bottom:1px solid #354b53;align-items:end}
#schedule-page .page-intro h1{font-size:clamp(31px,4vw,45px);line-height:1.05;letter-spacing:-.045em}
#schedule-page .page-intro .eyebrow{color:#e8a17c}
#schedule-page .game-switch{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:0 0 10px;padding:5px;border:1px solid #354b53;border-radius:9px;background:#17252c}
#schedule-page .game-switch button{min-height:49px;border-radius:6px;color:#bacdd0}
#schedule-page .game-switch button.active{background:#f2f0eb;color:#18272d;box-shadow:none}
#schedule-page .game-switch button.active:after{display:none}
#schedule-page .status-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:24px;border:0;background:transparent}
#schedule-page .status-tabs button{min-height:43px;border:1px solid #354b53;border-radius:6px;background:#15232a;color:#c7d6d8}
#schedule-page .status-tabs button.active{border-color:#d19473;background:#51372e;color:#fff;box-shadow:none}
#schedule-page .status-tabs button b{background:rgba(255,255,255,.1);color:inherit}
#schedule-page .schedule-list-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:3px 0 15px}
#schedule-page .schedule-list-heading h2{font-size:25px;line-height:1.2;letter-spacing:-.035em}
#schedule-page .schedule-list-heading span{font-size:12px;color:#aebfc3}
#schedule-list.card-list{display:grid;grid-template-columns:minmax(0,1fr);gap:23px}
.matchday-group{overflow:hidden;border-radius:10px;background:var(--md-paper);border:1px solid #52666b;box-shadow:0 14px 34px rgba(0,0,0,.14)}
.matchday-group-head{display:flex;align-items:baseline;gap:16px;min-height:58px;padding:15px 22px 12px;background:#203b42;color:#f3f3ee}
.matchday-group-head strong{font-size:22px;line-height:1.1;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.matchday-group-head span{font-size:12px;color:#b6cbd0}
.matchday-group-rows{display:block}
.matchday-row.schedule-row{position:relative;display:block;margin:0;border:0;border-radius:0;background:var(--md-paper);box-shadow:none;color:var(--md-ink);overflow:visible}
.matchday-row.schedule-row:before{display:none}
.matchday-row+.matchday-row{border-top:1px solid var(--md-rule)}
.matchday-row:hover{background:#fffefa}
.matchday-row-main{display:grid;grid-template-columns:105px minmax(0,1fr) 214px;align-items:stretch;min-height:109px;padding-right:43px}
.matchday-time{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;padding:17px 15px 17px 22px;background:#e7e8e2;border-right:1px solid var(--md-rule)}
.matchday-time time{font:800 25px/1 Bahnschrift,"Arial Narrow",sans-serif;font-variant-numeric:tabular-nums;letter-spacing:-.035em;color:#183b44}
.matchday-time span{font-size:11px;font-weight:750;letter-spacing:.05em;color:#9d5138}
.matchday-fixture{display:grid;align-content:center;gap:11px;min-width:0;padding:14px 20px}
.matchday-meta{display:flex;align-items:center;gap:9px;min-width:0;color:var(--md-muted)}
.matchday-meta span{font-size:12px;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.matchday-meta small{font-size:11px;white-space:nowrap;border-left:1px solid #afbfbd;padding-left:9px}
.matchday-link{display:grid;grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr) 18px;gap:10px;align-items:center;min-width:0;color:var(--md-ink);text-decoration:none}
.matchday-link:hover .matchday-team strong{text-decoration:underline;text-underline-offset:3px}
.matchday-link:focus-visible{outline:3px solid #b66b4f;outline-offset:3px;border-radius:4px}
.matchday-team{display:flex;flex-direction:row-reverse;justify-content:flex-start;align-items:center;gap:10px;min-width:0;text-align:right}
.matchday-emblem{position:relative;display:grid;place-items:center;width:45px;height:45px;min-width:45px;border-radius:8px;background:#233139;color:#f3f2ed;overflow:hidden}
.matchday-emblem.dark-mark{background:#e6e9e4;box-shadow:inset 0 0 0 1px #b8c5c4}
.matchday-emblem b{font:750 13px/1 Bahnschrift,"Arial Narrow",sans-serif;letter-spacing:.025em}
.matchday-emblem img{position:absolute;inset:0;display:block;width:100%;height:100%;box-sizing:border-box;object-fit:contain;padding:6px;opacity:0;transition:opacity .18s ease}
.matchday-emblem.ready img{opacity:1}
.matchday-emblem.ready b{visibility:hidden}
.matchday-team strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;line-height:1.2;letter-spacing:-.015em}
.matchday-team-right{flex-direction:row;justify-content:flex-start;text-align:left}
.matchday-versus{text-align:center;color:#7b8c8e;font:800 13px/1 Bahnschrift,"Arial Narrow",sans-serif;white-space:nowrap}
.matchday-link>i{font-size:17px;font-style:normal;color:#a45e45;text-align:right}
.matchday-model{display:grid;align-content:center;gap:9px;min-width:0;padding:16px 0 16px 18px;border-left:1px solid var(--md-rule)}
.matchday-model>small{font-size:11px;color:var(--md-muted)}
.matchday-prob{display:grid;grid-template-columns:44px minmax(15px,1fr) 44px;align-items:center;gap:6px;min-width:0}
.matchday-prob strong{font:750 13px/1 Bahnschrift,"Arial Narrow",sans-serif;font-variant-numeric:tabular-nums;color:var(--md-teal)}
.matchday-prob strong:last-child{text-align:right;color:var(--md-coral)}
.matchday-prob i{height:7px;border-radius:20px;background:linear-gradient(90deg,#3b9596 0 var(--p),#d98061 var(--p));overflow:hidden}
.matchday-result{font-size:15px;color:#247457}
.matchday-pending{font-size:12px;color:var(--md-muted)}
.matchday-row .favorite-button{position:absolute;top:35px;right:10px;width:31px;height:31px;border:0;border-radius:6px;background:transparent;color:#5d7174;box-shadow:none;z-index:2}
.matchday-row .favorite-button:hover{background:#e3e8e3;color:#a45337}
.matchday-row .favorite-button.active{background:#f4dfbd;color:#90512d}
.matchday-row .schedule-predict{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:55px;padding:8px 43px 8px 127px;border-top:1px solid var(--md-rule);background:var(--md-paper-alt);color:var(--md-ink)}
.matchday-row .schedule-predict .predict-label{font-size:12px;font-weight:750;color:#3c555a;margin:0;white-space:nowrap}
.matchday-row .predict-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:min(410px,70%)}
.matchday-row .schedule-predict button{display:grid;grid-template-columns:minmax(0,1fr) 17px;align-items:center;gap:8px;min-height:38px;padding:5px 11px;border:1px solid #9eafac;border-radius:6px;background:#f9faf7;color:var(--md-ink);box-shadow:none;font-size:12px;text-align:left}
.matchday-row .schedule-predict button:hover{background:#fff;border-color:#4b7e7d;box-shadow:none}
.matchday-row .schedule-predict button.selected{background:#d8eae0;border-color:#3c8264;color:#154e3d;box-shadow:none}
.matchday-row .schedule-predict button i{font-style:normal;text-align:center;color:#217855}
.matchday-row .schedule-predict button:focus-visible{outline:3px solid #a75d43;outline-offset:2px}
.matchday-row .schedule-predict>span:not(.predict-label){font-size:12px;color:#405e62}
.favorites-section .matchday-row.schedule-row{border:1px solid #455c62;border-radius:8px;overflow:hidden;margin-bottom:11px}
.favorites-section .matchday-row-main{min-height:90px}
.favorites-section .matchday-row .schedule-predict{padding-inline-start:127px}
@media(max-width:800px){
 .matchday-row-main{grid-template-columns:88px minmax(0,1fr) 162px;padding-right:37px}
 .matchday-time{padding-inline-start:14px}
 .matchday-time time{font-size:21px}
 .matchday-fixture{padding-inline:12px}
 .matchday-emblem{width:39px;height:39px;min-width:39px}
 .matchday-team strong{font-size:14px}
 .matchday-model{padding-inline-start:10px}
 .matchday-row .schedule-predict,.favorites-section .matchday-row .schedule-predict{padding-inline-start:102px;padding-right:37px}
}
@media(max-width:600px){
 #schedule-page .page-intro{padding-bottom:13px}
 #schedule-page .page-intro h1{font-size:32px}
 #schedule-page .game-switch button{min-height:45px}
 #schedule-page .game-switch button span{font-size:15px}
 #schedule-page .game-switch button small{display:none}
 #schedule-page .status-tabs button{font-size:11px}
 #schedule-page .schedule-list-heading{margin-bottom:12px}
 #schedule-page .schedule-list-heading h2{font-size:21px}
 #schedule-page .schedule-list-heading span{display:none}
 .matchday-group-head{min-height:51px;padding:12px 15px}
 .matchday-group-head strong{font-size:19px}
 .matchday-group-head span{font-size:10px}
 .matchday-row-main{grid-template-columns:minmax(0,1fr) 151px;grid-template-rows:auto auto;min-height:0;padding:0 14px}
 .matchday-time{grid-column:1;grid-row:1;display:flex;flex-direction:row;align-items:baseline;justify-content:flex-start;gap:9px;padding:13px 0 7px;border:0;background:transparent}
 .matchday-time time{font-size:21px}
 .matchday-time span{font-size:10px}
 .matchday-fixture{grid-column:1/-1;grid-row:2;gap:8px;padding:4px 0 15px}
 .matchday-meta span{font-size:11px}
 .matchday-meta small{font-size:10px}
 .matchday-link{grid-template-columns:minmax(0,1fr) 27px minmax(0,1fr) 17px;gap:5px}
 .matchday-team{display:grid;justify-items:center;gap:5px;text-align:center}
 .matchday-team-right{display:grid;text-align:center}
 .matchday-emblem{width:42px;height:42px;min-width:42px}
 .matchday-team strong{max-width:100%;font-size:12px}
 .matchday-versus{font-size:11px}
 .matchday-model{grid-column:2;grid-row:1;gap:3px;align-content:center;padding:10px 31px 0 0;border:0}
 .matchday-model>small{font-size:10px}
 .matchday-prob{grid-template-columns:39px minmax(10px,1fr) 39px;gap:3px}
 .matchday-prob strong{font-size:12px}
 .matchday-prob i{height:5px}
 .matchday-row .favorite-button{top:12px;right:9px;width:28px;height:28px}
 .matchday-row .schedule-predict,.favorites-section .matchday-row .schedule-predict{display:grid;gap:8px;padding:10px 14px}
 .matchday-row .predict-options{width:100%}
 .matchday-row .schedule-predict button{min-height:42px;font-size:11px}
}
@media(max-width:360px){
 .matchday-row-main{grid-template-columns:minmax(0,1fr) 132px;padding-inline:10px}
 .matchday-model{padding-right:27px}
 .matchday-emblem{width:37px;height:37px;min-width:37px}
 .matchday-team strong{font-size:11px}
}
