/* Decorative generated surfaces, blended into verified club colours. */
.match-card[data-team]{isolation:isolate;background:var(--card-bg)!important}
.match-card[data-team]::before,.match-card[data-team]::after{display:none}
.match-card>.card-material{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;background-repeat:no-repeat;background-size:auto 115%;background-position:64% center;filter:grayscale(1) brightness(1.08) contrast(1.3);mix-blend-mode:soft-light;opacity:.3;-webkit-mask-image:linear-gradient(135deg,transparent 4%,rgba(0,0,0,.12) 24%,rgba(0,0,0,.65) 57%,#000 84%);mask-image:linear-gradient(135deg,transparent 4%,rgba(0,0,0,.12) 24%,rgba(0,0,0,.65) 57%,#000 84%)}
.match-card>:not(.card-material){position:relative;z-index:1}
.match-card[data-team="cve"]>.card-material{background-image:url('/public/materials/grass-corner.jpg')}
.match-card[data-team="cve-alevi-3"]>.card-material{background-image:url('/public/materials/grass-diagonal.jpg');background-position:65% center}
.match-card[data-team="cve-benjami-2"]>.card-material{background-image:url('/public/materials/grass-arc.jpg');background-position:50% center}
.match-card[data-team="premia"]>.card-material{background-image:url('/public/materials/futsal-court.jpg');background-position:60% center}
.home-tag{display:inline-flex;align-items:center;gap:6px}
.home-tag svg{width:26px;height:26px;flex:none;overflow:visible}
@media(max-width:600px){main{padding-left:11px;padding-right:11px}}
/* A small crest stays visible; rank, name and statistics move together. */
.official-table th:nth-child(2){position:static;left:auto}
.official-table .crest-column{position:sticky;left:0;z-index:2;width:44px;min-width:44px;max-width:44px;padding:10px 7px;background:#faf9f4;box-shadow:1px 0 0 var(--line)}
.official-table .crest-column .table-club-crest{display:block;width:27px;height:31px;object-fit:contain;margin:auto}
.official-table tbody th{min-width:150px;max-width:180px}
.official-table .table-team-name{display:block;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.official-table thead .crest-column{background:#edefe4}
.official-table tr.own .crest-column{background:var(--accent-soft)}
html[data-look="dark"] .official-table .crest-column{background:var(--night-surface)}
html[data-look="dark"] .official-table thead .crest-column{background:#1c1e23}
html[data-look="dark"] .official-table tr.own .crest-column{background:var(--night-accent-soft)}
/* Keep the existing scorer summary within the narrower phone layout. */
.performance-scorers ol{grid-template-columns:minmax(0,1fr)}
.performance-scorers li{min-width:0}
.performance-scorers li>b{flex-shrink:0}
