/* ASİ Haber sports typography, match pages and viewport score dock. */
.asi62-page {
    --s50-bg:#f3f7f4;
    --s50-surface:#fff;
    --s50-card:#f8fbf9;
    --s50-border:#d6e3dc;
    --s50-text:#13291e;
    --s50-muted:#4d665a;
    --s50-green:#146848;
    --s50-yellow:#795c15;
}
.asi176-night .asi62-page {
    --s50-bg:#0c1714;
    --s50-surface:#14241e;
    --s50-card:#182a23;
    --s50-border:#30483d;
    --s50-text:#effaf2;
    --s50-muted:#b5cfc0;
    --s50-green:#98e5ae;
    --s50-yellow:#f0d885;
}
.asi178-page-heading h1 { color:var(--s50-text); font-size:clamp(30px,5vw,56px); letter-spacing:-.05em; }
.asi178-page-heading p { color:var(--s50-muted); }
.asi176-cover::after { background:linear-gradient(180deg,#0b171200 49%,#081d15c2); }
.asi176-four > article { border-radius:5px 15px 15px 15px; overflow:hidden; }
.asi176-four-picture { aspect-ratio:1.55; border-radius:0; }
.asi176-four-copy { padding:12px 13px 14px; }
.asi176-four-copy h2 { color:var(--s50-text); font-weight:815; letter-spacing:-.015em; line-height:1.25; }
.asi176-four > article:hover { border-color:var(--s50-green); }
.asi50-score-band .asi62-score-filters { margin-top:0; }

.asi178-branch-section { min-width:0; margin-block:10px 6px; }
.asi178-branch-section > header {
    display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:6px 14px;
    margin-bottom:11px; padding-bottom:9px; border-bottom:1px solid var(--s50-border);
}
.asi178-branch-section h2 { margin:0; color:var(--s50-text); font-size:clamp(22px,3vw,34px); letter-spacing:-.04em; line-height:1.1; }
.asi178-branch-section header a { color:var(--s50-green); text-decoration:none; font-size:13px; font-weight:730; }
.asi178-branch-grid { display:grid; gap:12px; }
.asi178-branch-grid.is-feature { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(112px,1fr)); }
.asi178-branch-grid.is-feature > :first-child { grid-row:span 2; }
.asi178-branch-grid.is-feature > :only-child { grid-column:1/-1; }
.asi178-branch-grid.is-all { grid-template-columns:repeat(4,minmax(0,1fr)); }
.asi178-branch-card { min-width:0; overflow:hidden; border:1px solid var(--s50-border); border-radius:14px; background:var(--s50-surface); }
.asi178-branch-card > a { display:flex; flex-direction:column; min-height:100%; color:var(--s50-text); text-decoration:none; }
.asi178-branch-card a:hover h3 { color:var(--s50-green); }
.asi178-branch-image { position:relative; min-width:0; aspect-ratio:16/9; overflow:hidden; background:#204638; }
.asi178-branch-image > :is(img,.asi50-photo-fallback) { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.asi178-branch-copy { display:grid; align-content:center; gap:6px; padding:12px 14px; min-width:0; }
.asi178-branch-copy h3 { margin:0; font-size:clamp(15px,1.5vw,22px); line-height:1.24; overflow-wrap:anywhere; }
.asi178-branch-copy small { color:var(--s50-muted); font-size:11px; }
.asi178-branch-grid.is-feature > :first-child h3 { font-size:clamp(20px,2.5vw,34px); }
.asi178-branch-grid.is-feature > :not(:first-child) > a { display:grid; grid-template-columns:minmax(0,42%) minmax(0,1fr); }
.asi178-branch-grid.is-feature > :not(:first-child) .asi178-branch-image { height:100%; min-height:110px; aspect-ratio:auto; }
.asi178-branch-page { margin-top:24px; }

.asi178-filter { gap:10px; align-items:end; margin-block:10px 16px; }
.asi178-filter label, .asi178-filter-value { flex:1 1 138px; min-width:0; }
.asi178-filter :is(input[type=date],select) { min-width:0; width:100%; min-height:45px; }
.asi178-filter-value { display:grid; gap:5px; color:var(--s50-muted); font-size:12px; }
.asi178-filter-value strong {
    display:flex; align-items:center; min-height:45px; padding:8px 12px; border:1px solid var(--s50-border);
    border-radius:8px; background:var(--s50-card); color:var(--s50-text); font-size:14px; font-weight:700;
}
.asi178-filter button { min-height:45px; }
.asi178-date-tabs, .asi178-week-nav {
    position:relative; display:flex; gap:7px; overflow-x:auto; overscroll-behavior-inline:contain; scrollbar-width:thin;
    margin-block:10px 15px; padding:3px 2px 7px;
}
.asi178-date-tabs a,.asi178-week-nav a {
    flex:none; display:inline-flex; align-items:center; justify-content:center; min-height:42px;
    padding:7px 14px; white-space:nowrap; text-decoration:none; color:var(--s50-text); background:var(--s50-surface);
    border:1px solid var(--s50-border); border-radius:9px; font-size:13px; font-weight:715;
}
.asi178-date-tabs a[aria-current],.asi178-week-nav a[aria-current] { background:#175a42; border-color:#175a42; color:#f0fff3; }
.asi178-date-group > h2 { margin:0; padding:12px 16px; border-bottom:1px solid var(--s50-border); color:var(--s50-text); font-size:15px; font-weight:790; }
.asi178-match-row {
    display:grid; grid-template-columns:minmax(100px,16%) minmax(0,1fr) minmax(82px,15%);
    align-items:center; gap:12px; padding:12px 16px; min-height:65px;
}
.asi178-match-row:nth-of-type(even) { background:var(--s50-card); }
.asi178-match-row .asi62-match-status { display:grid; justify-items:start; gap:4px; color:var(--s50-text); font-variant-numeric:tabular-nums; }
.asi178-match-row .asi62-match-status small { padding:3px 6px; border-radius:6px; background:var(--s50-card); color:var(--s50-muted); font-size:10px; font-weight:740; }
.asi178-match-row .asi62-match-status.is-live small { background:#cfefd9; color:#116342; }
.asi178-match-row.is-finished .asi62-match-status small { color:var(--s50-green); }
.asi178-match-row.is-postponed .asi62-match-status small { color:var(--s50-yellow); }
.asi178-match-row .asi62-match-teams { grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); }
.asi178-match-row .asi62-match-teams > strong { min-width:46px; padding:4px 6px; border-radius:6px; background:var(--s50-card); font-size:18px; font-variant-numeric:tabular-nums; }
.asi178-match-team { display:flex; align-items:center; gap:7px; min-width:0; line-height:1.28; overflow-wrap:anywhere; }
.asi178-match-team > span:last-child { min-width:0; }
.asi178-match-row .asi178-match-team:first-child { flex-direction:row-reverse; }
.asi178-match-team .asi50-team-logo,.asi178-match-team .asi50-team-fallback { width:24px; height:24px; flex:none; }
.asi178-match-facts { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:4px 8px; min-width:0; color:var(--s50-muted); font-size:11px; }
.asi178-match-facts > span { overflow-wrap:anywhere; }
.asi178-match-facts > a { display:grid; place-items:center; min-width:32px; min-height:32px; border-radius:7px; color:var(--s50-green); text-decoration:none; font-weight:850; }
.asi178-match-channel { font-size:10px; font-weight:760; }
.asi178-local-club .asi62-team-head { display:flex; align-items:center; gap:11px; background:linear-gradient(110deg,#691f38,#383330); }
.asi178-club-emblem { display:grid; place-items:center; width:50px; height:50px; flex:none; border-radius:13px; background:#fffaf7; }
.asi178-local-club .asi178-club-emblem :is(img,.asi50-team-fallback) { width:36px; height:36px; }
.asi178-local-club .asi62-team-match header { display:flex; justify-content:space-between; align-items:baseline; gap:7px; margin-bottom:7px; color:var(--s50-muted); font-size:11px; }
.asi178-local-club .asi62-team-match header small { margin:0; color:inherit; text-align:end; }
.asi178-team-match-teams { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:8px; color:var(--s50-text); font-size:12px; font-weight:750; }
.asi178-team-match-teams b { padding:3px 5px; border-radius:5px; background:var(--s50-card); font-variant-numeric:tabular-nums; }
.asi178-team-match-teams .asi178-match-team:last-child { flex-direction:row-reverse; text-align:end; }
.asi178-local-club > footer { display:flex; justify-content:space-between; flex-wrap:wrap; gap:6px; padding:10px 15px; color:var(--s50-muted); font-size:11px; }
.asi178-local-club > footer a { color:var(--s50-green); font-weight:730; }
.asi62-goal-list li .asi178-scorer-rank { flex:0 0 17px; color:var(--s50-muted); }
.asi62-goal-list li .asi50-team-fallback { flex:0 0 26px; }
.asi62-goal-list li .asi178-scorer-player { flex:1 1 auto; min-width:0; overflow-wrap:anywhere; }
.asi178-scorer-player strong { font-size:13px; }
.asi62-goal-list li > b { min-width:27px; padding:4px 5px; border-radius:7px; background:var(--s50-card); color:var(--s50-green); text-align:center; font-size:15px; font-variant-numeric:tabular-nums; }
.asi62-goals > .asi176-meta { padding:9px 15px; }
.asi62-page .asi61-retry { min-height:38px; padding:5px 10px; border:1px solid var(--s50-border); border-radius:6px; color:var(--s50-green); background:var(--s50-card); cursor:pointer; }

@media(max-width:640px) {
    .asi178-branch-grid.is-feature { grid-template-columns:minmax(0,1fr); grid-template-rows:auto; }
    .asi178-branch-grid.is-feature > :first-child { grid-row:auto; }
    .asi178-branch-grid.is-all { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
    .asi178-branch-copy { padding:8px; }
    .asi178-branch-copy h3 { font-size:14px; }
    .asi178-filter label { flex-basis:calc(50% - 8px); min-width:0; }
    .asi178-match-row { grid-template-columns:minmax(0,1fr); gap:5px; padding:8px; }
    .asi178-match-row .asi62-match-status { display:flex; justify-content:space-between; align-items:center; }
    .asi178-match-row .asi62-match-teams { gap:5px; }
    .asi178-match-row .asi62-match-teams > span { font-size:12px; gap:4px; }
    .asi178-match-row .asi62-match-teams > strong { font-size:16px; }
    .asi178-match-row .asi178-match-facts { justify-content:flex-start; }
    .asi178-match-facts:empty { display:none; }
    .asi178-match-facts > a { min-height:25px; }
}
