/* Match layout follows the owner's upper, light-coloured reference card. */
.compact-match-editor{width:100%;min-width:0}
.compact-match-editor .editor-spacing{visibility:hidden;pointer-events:none}
.compact-match-editor .editor-spacing strong{line-height:24px}
.compact-match-editor .match-scoreboard{grid-template-columns:minmax(0,1fr) 120px minmax(0,1fr)}
.compact-match-editor .match-team{transform:translateY(12px)}
.compact-wheels{display:flex;align-items:center;justify-content:center;gap:5px;height:48px;min-width:0;transform:translateY(12px)}
.compact-wheels>b{font:400 22px/1 Arial,sans-serif}
.compact-wheels .wheel-shell{width:48px;height:78px;flex-shrink:0;border-radius:8px;background:#e3dfcc}
.compact-wheels .wheel-shell:after{top:20px;height:38px;border-width:1px}
.compact-wheels .wheel{height:78px;padding:20px 0}
.compact-wheels .wheel .digit{height:38px;font:400 30px/38px var(--display)}
.compact-wheels .wheel .digit:not(.chosen){color:#98967f;opacity:.65}
@media(max-width:350px){.compact-match-editor .match-scoreboard{grid-template-columns:minmax(0,1fr) 98px minmax(0,1fr)}.compact-wheels{gap:3px}.compact-wheels .wheel-shell{width:38px}.compact-wheels .wheel .digit{font-size:27px}}
.draft-match-link{display:block;color:#101212;border-radius:13px}
.draft-match-link:hover .match-card-ref{border-color:#c2a600}
.prediction-chip{--prediction-outline:#c0b99b}
.draft-match-link .prediction-chip{box-shadow:0 0 0 1px var(--prediction-outline)}
.prediction-chip.is-empty>strong{font:400 21px/24px Arial,sans-serif;color:var(--prediction-outline);letter-spacing:0}
.match-card-ref{--prediction-bg:#e3dfcc;padding:8px 11px 9px;background:linear-gradient(135deg,#f7f4e5,#f0eddb);border:1px solid #ddd5a4;border-radius:13px;margin-bottom:11px;box-shadow:0 0 12px #ffe00008}
.match-top-line{display:grid;grid-template-columns:minmax(0,1fr) 92px minmax(0,1fr);gap:3px;align-items:center;min-height:18px;margin-bottom:2px}
.match-featured{font-size:9px;font-weight:700;line-height:1.25;color:#806b12}
.match-card-ref.is-featured{border-color:#f3ce00;box-shadow:0 0 0 1px #f3ce00,0 0 12px #ffe00018}
.is-featured .match-featured{display:inline-flex;align-items:center;gap:3px;justify-self:start;background:#ffe000;color:#151711;border-radius:4px;padding:4px;font:400 10px/1.1 var(--display);white-space:nowrap}
.is-featured .match-featured .icon{width:10px;height:10px;fill:currentColor;stroke-width:1}
.match-date{font-size:11px;color:#22251c;white-space:nowrap;text-align:center;font-variant-numeric:tabular-nums}
.match-top-line .status{justify-content:flex-end;white-space:normal;text-align:right;font-size:10px;line-height:1.25;padding:0;color:#6b7061}
.match-top-line .status.finished{color:#14823d;font-weight:600}
.match-top-line .status.live{color:#b11f20}
.match-scoreboard{display:grid;grid-template-columns:minmax(0,1fr) 92px minmax(0,1fr);gap:3px;align-items:center;min-height:48px}
.match-team{display:flex;align-items:center;gap:6px;min-width:0}
.match-team>span{font:400 17px/1.1 var(--display);white-space:nowrap;overflow-wrap:normal;min-width:0;flex:1}
.away-team{justify-content:flex-end;text-align:right}
.match-crest{width:35px;height:40px;object-fit:contain;display:block;flex-shrink:0}
.match-result.score-line{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;color:#090c09;font:400 42px/1 var(--display);font-variant-numeric:tabular-nums}
.match-result b{font-weight:400}
.match-result i{font:400 34px/1 'Segoe UI',Arial,sans-serif;font-style:normal;padding-bottom:4px}
.match-result.is-pending b{font:400 21px/1 Arial,sans-serif;color:var(--prediction-bg)}
.match-result.is-pending i{font-size:24px;color:var(--prediction-bg);padding-bottom:2px}
.prediction-band{display:grid;grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr);gap:10px;align-items:center;margin:2px 0 7px}
.prediction-band:before,.prediction-band:after{content:'';height:2px;background:linear-gradient(90deg,transparent,#b3af99)}
.prediction-band:after{transform:rotate(180deg)}
.prediction-chip{grid-column:2;text-align:center;background:var(--prediction-bg);border-radius:8px;padding:3px 4px 4px}
.prediction-chip>span{display:block;font-size:9px;font-weight:600;line-height:1.3;color:#202519;white-space:nowrap}
.prediction-chip>strong{display:block;font:400 24px/1 var(--display);font-variant-numeric:tabular-nums;margin-top:1px;letter-spacing:1px}
.match-awards{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.award-pill{display:flex;align-items:center;gap:6px;min-width:0;min-height:34px;border:1px solid #d0ccb5;border-radius:7px;padding:4px 7px;background:#e5e1ce;color:#292c22;box-shadow:inset 0 1px 2px #00000008}
.award-pill .icon{width:18px;height:18px;flex-shrink:0}
.award-pill>span{font-size:11px;line-height:1.2;flex:1;min-width:0}
.award-pill>strong{font:400 24px/1 var(--display);flex-shrink:0;white-space:nowrap;color:#10150d}
.award-pill.is-earned{background:#ffe000;border-color:#e5c600}
.award-pill:not(.is-earned):not(.is-zero){color:#727664}
.award-pill:not(.is-earned):not(.is-zero)>strong{color:#7e826f}
.match-status-note{text-align:center;margin-top:7px;font-size:9px;line-height:1.4;color:#98502a}
.next-match-block{margin-bottom:10px}.next-match-block .section-title{margin-bottom:7px}.next-match-block .match-card-ref{margin-bottom:0}
@media(max-width:350px){.match-card-ref{padding:7px 8px 8px}.match-top-line,.match-scoreboard{grid-template-columns:minmax(0,1fr) 71px minmax(0,1fr)}.match-date{font-size:10px}.match-featured{font-size:8px}.match-top-line .status{font-size:9px}.match-team{gap:4px}.match-team>span{font-size:16px}.match-crest{width:28px;height:34px}.match-result.score-line{font-size:35px;gap:5px}.match-result i{font-size:28px}.prediction-band{grid-template-columns:minmax(0,1fr) 100px minmax(0,1fr);gap:8px}.prediction-chip>strong{font-size:23px}.match-awards{gap:6px}.award-pill{padding:4px 5px;gap:4px;min-height:34px}.award-pill .icon{width:15px;height:15px}.award-pill>span{font-size:10px}.award-pill>strong{font-size:21px}}
