/* Site content plugin. Uses the theme's colours when it defines the app tokens, light defaults otherwise. */
.scp, .scp-wrap {
  --k-bg: var(--bg, #F2F5F9);
  --k-surface: var(--surface, #FFFFFF);
  --k-surface-2: var(--surface-2, #E9EEF5);
  --k-line: var(--line, #E2E7EF);
  --k-ink: var(--ink, #0D1220);
  --k-muted: var(--muted, #667085);
  --k-faint: var(--faint, #A2AABA);
  --k-live: var(--live, #E8384A);
  --k-brand: var(--brand, #1F6FEB);
  --k-brand-soft: var(--brand-soft, rgba(31, 111, 235, .10));
  --k-win: var(--win, #1F9D55);
  --k-draw: var(--draw, #9A9AA1);
  --k-r: var(--r-lg, 14px);
}
.scp { color: var(--k-ink); font-size: 15px; line-height: 1.6; }
.scp *, .scp *::before, .scp *::after { box-sizing: border-box; }
.scp a { color: inherit; text-decoration: none; }
.scp h1, .scp h2, .scp h3, .scp h4 { color: var(--k-ink); margin: 0; line-height: 1.35; }
.scp img { max-width: none; }
.scp-wrap { max-width: 1180px; margin: 0 auto; padding: 16px; }
.scp-i { flex: none; vertical-align: middle; }
.scp-muted { color: var(--k-muted); }

/* breadcrumbs + page head */
.scp-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--k-muted); margin: 0 0 12px; }
.scp-crumbs a:hover { color: var(--k-brand); }
.scp-crumbs b { color: var(--k-ink); font-weight: 600; }
.scp-phead { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; }
.scp-phead h1 { font-size: clamp(22px, 3.2vw, 30px); font-weight: 700; }
.scp-phead h1 small { font-size: .6em; color: var(--k-muted); font-weight: 500; }
.scp-phead p { margin: 4px 0 0; color: var(--k-muted); font-size: 14px; }
.scp-phead img { border-radius: 12px; background: #fff; padding: 4px; }

/* day chips */
.scp-days { display: flex; align-items: center; gap: 6px; margin: 0 0 14px; }
.scp-days-list { display: flex; gap: 6px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.scp-days-list::-webkit-scrollbar { display: none; }
.scp-day { flex: 1 0 64px; display: flex; flex-direction: column; align-items: center; padding: 7px 4px; border-radius: 12px; background: var(--k-surface); border: 1px solid var(--k-line); color: var(--k-muted); transition: background .15s; }
.scp-day small { font-size: 12px; }
.scp-day b { font-size: 18px; color: var(--k-ink); line-height: 1.2; }
.scp-day:hover { border-color: var(--k-brand); }
.scp-day.is-cur { background: var(--k-brand); border-color: var(--k-brand); color: #fff; }
.scp-day.is-cur b { color: #fff; }
.scp-days-arrow, .scp-days-pick { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--k-surface); border: 1px solid var(--k-line); color: var(--k-muted); cursor: pointer; position: relative; }
.scp-days-arrow:hover, .scp-days-pick:hover { color: var(--k-brand); }
.scp-days-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }

/* league block + rows */
.scp-livebar { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--k-live); background: color-mix(in srgb, var(--k-live) 12%, transparent); padding: 4px 12px; border-radius: 99px; margin: 0 0 12px; }
.scp-lg { margin: 0 0 16px; }
.scp-lg-head { display: flex; align-items: center; gap: 10px; padding: 0 4px 8px; }
.scp-lg-logo { border-radius: 6px; background: #fff; }
.scp-lg-name { flex: 1; min-width: 0; font-weight: 700; font-size: 15px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.scp-lg-name a:hover { color: var(--k-brand); }
.scp-lg-name small { font-weight: 400; font-size: 12.5px; color: var(--k-muted); }
.scp-lg-more { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; color: var(--k-brand); }
.scp-lg-more .scp-i { width: 15px; height: 15px; }
.scp-card { background: var(--k-surface); border: 1px solid var(--k-line); border-radius: var(--k-r); overflow: hidden; }
.scp-card.is-flat { border: 0; border-radius: 0; background: transparent; }
.scp-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 11px 14px; min-height: 64px; border-top: 1px solid var(--k-line); transition: background .15s; }
.scp-card > .scp-row:first-child, .scp-sep + .scp-row { border-top: 0; }
.scp-row:hover { background: var(--k-brand-soft); }
.scp-team { display: flex; align-items: center; gap: 9px; min-width: 0; font-weight: 600; font-size: 14.5px; }
.scp-home { justify-content: flex-end; text-align: left; }
.scp-away { justify-content: flex-start; }
.scp-tname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scp-team.is-win .scp-tname { color: var(--k-ink); }
.scp-row.is-finished .scp-team:not(.is-win) .scp-tname { color: var(--k-muted); font-weight: 500; }
.scp-logo { width: 28px; height: 28px; object-fit: contain; }
.scp-noimg { display: inline-block; border-radius: 50%; background: var(--k-surface-2); }
.scp-mid { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 76px; }
.scp-score { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 18px; padding: 2px 10px; border-radius: 10px; background: var(--k-surface-2); font-variant-numeric: tabular-nums; }
.scp-score i { font-style: normal; color: var(--k-faint); font-weight: 400; }
.is-live .scp-score { background: color-mix(in srgb, var(--k-live) 13%, var(--k-surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--k-live) 35%, transparent); }
.scp-time { font-weight: 700; font-size: 15px; padding: 3px 10px; border-radius: 10px; background: var(--k-surface-2); white-space: nowrap; }
.scp-time.is-off { font-size: 12.5px; color: var(--k-muted); }
.scp-min { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--k-live); }
.scp-st, .scp-ch { font-size: 11.5px; color: var(--k-muted); white-space: nowrap; max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
.scp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--k-live); display: inline-block; animation: scp-pulse 1.4s ease-in-out infinite; }
@keyframes scp-pulse { 50% { opacity: .35; } }
.scp-sep { padding: 10px 14px 4px; font-size: 12.5px; font-weight: 600; color: var(--k-muted); }
.scp-empty { text-align: center; padding: 40px 16px; color: var(--k-muted); background: var(--k-surface); border: 1px dashed var(--k-line); border-radius: var(--k-r); }
.scp-empty .scp-i { width: 34px; height: 34px; opacity: .6; }

/* boxes */
.scp-box { background: var(--k-surface); border: 1px solid var(--k-line); border-radius: var(--k-r); padding: 16px; margin: 0 0 16px; }
.scp-box > h2 { font-size: 16.5px; font-weight: 700; margin: 0 0 12px; }
.scp-box .scp-card.is-flat { margin: 0 -16px -16px; }
.scp-grid2 { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.scp-grp { font-size: 13.5px; color: var(--k-muted); margin: 14px 0 8px !important; }
.scp-more { text-align: center; }
.scp-more a { color: var(--k-brand); font-weight: 600; }

/* match hero */
.scp-hero { background: linear-gradient(160deg, color-mix(in srgb, var(--k-brand) 16%, var(--k-surface)), var(--k-surface) 60%); border: 1px solid var(--k-line); border-radius: 20px; padding: 18px 16px 20px; margin: 0 0 14px; }
.scp-hero.is-live { background: linear-gradient(160deg, color-mix(in srgb, var(--k-live) 14%, var(--k-surface)), var(--k-surface) 60%); }
.scp-hero-lg { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13.5px; color: var(--k-muted); margin: 0 0 14px; }
.scp-hero-lg img { border-radius: 5px; background: #fff; }
.scp-hero-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.scp-hteam { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 700; font-size: 17px; }
a.scp-hteam:hover span { color: var(--k-brand); }
.scp-hlogo { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .18)); }
.scp-hero-mid { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.scp-hero .scp-score { font-size: 34px; padding: 4px 16px; border-radius: 14px; gap: 10px; }
.scp-hero .scp-time { font-size: 24px; padding: 6px 16px; border-radius: 14px; }
.scp-hero .scp-min { font-size: 14px; }
.scp-hero .scp-st { font-size: 13px; max-width: none; }
.scp-ht { font-size: 12px; color: var(--k-muted); }
.scp-hero-goals { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; margin: 14px 0 0; font-size: 12.5px; color: var(--k-muted); line-height: 1.8; }
.scp-hero-goals > div:first-child { text-align: center; }
.scp-hero-goals > div:last-child { text-align: center; }
.scp-hero-goals span { opacity: .6; }
.scp-summary { margin: 0 0 16px; color: var(--k-muted); font-size: 14.5px; }

/* info list */
.scp-info { list-style: none; margin: 0; padding: 0; }
.scp-info li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--k-line); font-size: 14px; }
.scp-info li:first-child { border-top: 0; padding-top: 0; }
.scp-info li .scp-i { color: var(--k-brand); }
.scp-info li span { color: var(--k-muted); min-width: 92px; }
.scp-info li b { font-weight: 600; }

/* events */
.scp-ev-teams { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--k-muted); font-weight: 600; margin: -4px 0 8px; }
.scp-events { list-style: none; margin: 0; padding: 0; }
.scp-events li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--k-line); font-size: 14px; }
.scp-events li:first-child { border-top: 0; }
.scp-events li.is-away { flex-direction: row-reverse; text-align: left; }
.scp-ev-min { min-width: 40px; font-weight: 700; color: var(--k-muted); font-size: 13px; text-align: center; direction: ltr; }
.scp-ev-ic { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--k-surface-2); flex: none; }
.scp-ev-ic .scp-i { width: 16px; height: 16px; }
.scp-ev-ic.is-goal { color: var(--k-win); }
.scp-ev-ic.is-miss { color: var(--k-live); opacity: .8; }
.scp-ev-ic.is-sub { color: var(--k-brand); }

.scp-cardi { width: 10px; height: 14px; border-radius: 2px; border: 0; display: block; }
.scp-cardi.is-y { background: #FFC531; }
.scp-cardi.is-r { background: #FF4757; }
.scp-ev-who { display: flex; flex-direction: column; font-weight: 600; }
.scp-ev-who small { font-weight: 400; color: var(--k-muted); font-size: 12px; }
.scp-events li.is-goal .scp-ev-who, .scp-events li.is-penalty .scp-ev-who { color: var(--k-ink); }

/* stats */
.scp-stats { list-style: none; margin: 0; padding: 0; }
.scp-stats li { padding: 7px 0; }
.scp-st-top { display: flex; justify-content: space-between; font-size: 13.5px; margin: 0 0 5px; }
.scp-st-top span { color: var(--k-muted); }
.scp-bar { display: flex; gap: 4px; height: 6px; }
.scp-bar i { display: block; height: 100%; border-radius: 3px; background: var(--k-brand); }
.scp-bar i + i { background: var(--k-faint); opacity: .6; }

/* lineups */
.scp-lu { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.scp-lu h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 0 0 10px; }
.scp-lu h3 small { color: var(--k-muted); font-weight: 600; margin-inline-start: auto; }
.scp-lu h4 { font-size: 13.5px; color: var(--k-muted); margin: 16px 0 10px; }
.scp-lu ol, .scp-squad { list-style: none; margin: 0; padding: 0; }
.scp-squad li { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 13.5px; border-top: 1px dashed var(--k-line); }
.scp-xi-note { margin: -4px 0 12px; font-size: 12.5px; color: var(--k-muted); }
.scp-pitch { position: relative; aspect-ratio: 68 / 100; max-width: 440px; margin-inline: auto; border-radius: 16px; overflow: hidden; color: rgba(255,255,255,.62);
  background: radial-gradient(120% 70% at 50% 50%, rgba(255,255,255,.07), rgba(0,0,0,.12) 100%), repeating-linear-gradient(180deg, #2E9A4F 0 8.333%, #2A8E48 8.333% 16.666%); }
.scp-pitch-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.scp-xi { position: absolute; transform: translate(-50%, -38%); display: flex; flex-direction: column; align-items: center; width: 74px; z-index: 1; }
.scp-xi-nm { margin-top: 6px; max-width: 74px; text-align: center; line-height: 1.25; }
.scp-xi-nm, .scp-xi-nm .scp-plink { font-size: 11.5px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.scp-xi-out { margin-top: 1px; font-size: 10px; font-weight: 700; color: #fff; background: rgba(0,0,0,.35); border-radius: 6px; padding: 0 5px; line-height: 15px; }
.scp-ph { position: relative; display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: #F4F6F8; }
.scp-xi .scp-ph { box-shadow: 0 0 0 2px #fff, 0 4px 12px rgba(0,0,0,.28); }
.scp-ph > .scp-ph-img { width: 100% !important; height: 100% !important; border-radius: 50%; object-fit: cover; object-position: center top; }
.scp-ph-none { width: 52%; height: 52%; color: #9AA1AC; }
.scp-b-num { position: absolute; top: -3px; left: -7px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #fff; color: #15171B; font: 800 10px/18px system-ui, sans-serif; text-align: center; font-style: normal; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.scp-bench .scp-b-num { background: var(--k-ink); color: var(--k-surface); }
.scp-b-flag { position: absolute; top: -3px; right: -6px; width: 18px !important; height: 18px !important; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px #fff, 0 1px 3px rgba(0,0,0,.25); background: #fff; }
.scp-b-rate { position: absolute; bottom: -4px; left: -9px; min-width: 26px; height: 16px; padding: 0 4px; border-radius: 6px; color: #fff; font: 800 10px/16px system-ui, sans-serif; text-align: center; font-style: normal; box-shadow: 0 0 0 1.5px #fff; }
.scp-b-rate.r-top { background: #0B8F86; } .scp-b-rate.r-good { background: #22A447; } .scp-b-rate.r-ok { background: #E3A008; } .scp-b-rate.r-low { background: #EF7B10; } .scp-b-rate.r-bad { background: #E5383B; }
.scp-b-cap { position: absolute; top: 15px; left: -9px; width: 15px; height: 15px; border-radius: 50%; background: #F5C518; color: #15171B; font: 900 9px/15px system-ui, sans-serif; text-align: center; font-style: normal; box-shadow: 0 0 0 1.5px #fff; }
.scp-b-ev { position: absolute; bottom: -4px; right: -10px; display: flex; align-items: center; gap: 1px; direction: ltr; }
.scp-b-ev i { font-style: normal; }
.scp-ev-ball { width: 16px; height: 16px; border-radius: 50%; background: #fff; font-size: 11px; line-height: 16px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.scp-ev-ball.is-og { box-shadow: 0 0 0 1.5px #E5383B; }
.scp-ev-card { width: 10px; height: 14px; border-radius: 2px; background: #F5C518; box-shadow: 0 0 0 1.5px #fff; margin-left: 2px; }
.scp-ev-card.is-red { background: #E5383B; } .scp-ev-card.is-second { background: linear-gradient(135deg, #F5C518 50%, #E5383B 50%); }
.scp-ev-out { width: 16px; height: 16px; border-radius: 50%; background: #E5383B; color: #fff; font-size: 10px; font-weight: 800; line-height: 16px; text-align: center; box-shadow: 0 0 0 1.5px #fff; }
.scp-coach { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--k-surface-2); }
.scp-coach .scp-ph { background: var(--k-surface); }
.scp-coach span { display: flex; flex-direction: column; } .scp-coach b { font-size: 14px; } .scp-coach small { font-size: 12px; color: var(--k-muted); }
.scp-bench { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 8px; }
.scp-bench li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; min-width: 0; }
.scp-bench .scp-ph { margin-bottom: 4px; background: var(--k-surface-2); }
.scp-bench b, .scp-bench b .scp-plink { font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.scp-bench small { font-size: 11px; color: var(--k-muted); }
.scp-bench small.scp-in { color: #22A447; font-weight: 700; }
.scp-num { min-width: 26px; height: 22px; display: inline-grid; place-items: center; border-radius: 6px; background: var(--k-surface-2); font-size: 12px; font-weight: 700; direction: ltr; }
.scp-squad li small { margin-inline-start: auto; color: var(--k-muted); font-size: 12px; }

/* form dots */
.scp-form { list-style: none; margin: 0; padding: 0; }
.scp-form li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--k-line); font-weight: 600; font-size: 14px; }
.scp-form li:first-child { border-top: 0; }
.scp-form li small { display: block; font-weight: 400; color: var(--k-muted); font-size: 12px; }
.scp-fs { display: flex; gap: 4px; direction: ltr; }
.scp-f { width: 22px; height: 22px; border-radius: 6px; display: inline-grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: var(--k-draw); }
.scp-form-c .scp-f { width: 9px; height: 9px; border-radius: 50%; margin: 0 1px; }
.scp-f.is-w { background: var(--k-win); }
.scp-f.is-l { background: var(--k-live); }

/* standings */
.scp-table-wrap { overflow-x: auto; margin: 0 -16px; }
.scp-table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.scp-table th { font-weight: 600; color: var(--k-muted); font-size: 12px; padding: 8px 6px; border-bottom: 1px solid var(--k-line); text-align: center; background: transparent; }
.scp-table td { padding: 8px 6px; border-bottom: 1px solid var(--k-line); text-align: center; }
.scp-table tr:last-child td { border-bottom: 0; }
.scp-table .scp-tm { text-align: right; }
.scp-table th:first-child, .scp-table td:first-child { padding-inline-start: 16px; }
.scp-table .scp-tm a, .scp-table td.scp-tm { display: flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.scp-table .scp-tm a:hover { color: var(--k-brand); }
.scp-table .scp-tm img { object-fit: contain; }
.scp-rk { color: var(--k-muted); font-weight: 600; width: 32px; }
.scp-pts { font-weight: 700; }
.scp-form-c { white-space: nowrap; direction: ltr; }

/* scorers */
.scp-scorers { list-style: none; margin: 0; padding: 0; }
.scp-scorers li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--k-line); }
.scp-scorers li:first-child { border-top: 0; }
.scp-scorers img { object-fit: contain; }
.scp-sc-name { flex: 1; font-weight: 600; font-size: 14px; display: flex; flex-direction: column; }
.scp-sc-name small { color: var(--k-muted); font-weight: 400; font-size: 12px; }
.scp-scorers b { font-size: 17px; }

/* leagues grid */
.scp-lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.scp-lgc { display: flex; align-items: center; gap: 10px; padding: 12px; background: var(--k-surface); border: 1px solid var(--k-line); border-radius: var(--k-r); font-weight: 600; font-size: 14px; }
.scp-lgc:hover { border-color: var(--k-brand); color: var(--k-brand); }
.scp-lgc img { border-radius: 8px; background: #fff; padding: 2px; object-fit: contain; }

/* app box */
.scp-app { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border-radius: var(--k-r); margin: 0 0 16px; color: #fff; background: linear-gradient(135deg, #1F6FEB, #4C9BFF); }
.scp-app > .scp-i { width: 26px; height: 26px; }
.scp-app p { margin: 0; font-weight: 600; font-size: 14.5px; }
.scp-btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #0D1220 !important; font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 12px; }
.scp-btn:hover { transform: translateY(-1px); }

.scp-prose { line-height: 1.9; }
.scp-prose h2, .scp-prose h3 { margin: 18px 0 8px; }
.scp-prose a { color: var(--k-brand); }

@media (max-width: 900px) {
  .scp-grid2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .scp-row { padding: 10px 10px; gap: 6px; }
  .scp-team { font-size: 13.5px; gap: 6px; }
  .scp-logo { width: 24px; height: 24px; }
  .scp-mid { min-width: 64px; }
  .scp-hide-s { display: none; }
  .scp-hlogo { width: 52px; height: 52px; }
  .scp-hteam { font-size: 15px; }
  .scp-hero .scp-score { font-size: 28px; }
  .scp-lu { grid-template-columns: 1fr; }
  .scp-day { flex-basis: 52px; }
  .scp-days-arrow { display: none; }
}

/* fixed logo sizes even when the theme sets img { height: auto } */
.scp-logo, .scp-lg-logo, .scp-hlogo, .scp-lgc img, .scp-table .scp-tm img, .scp-scorers img, .scp-hero-lg img { flex: none; object-fit: contain; }
.scp-logo { height: 28px !important; }
.scp-lg-logo { width: 22px; height: 22px !important; }
.scp-lgc img { width: 36px; height: 36px !important; }
.scp-table .scp-tm img, .scp-scorers img, .scp-hero-lg img { width: 20px; height: 20px !important; }
.scp-hlogo { height: 64px !important; }
.scp-phead img { width: 56px; height: 56px !important; object-fit: contain; }
@media (max-width: 560px) { .scp-logo { width: 24px; height: 24px !important; } .scp-hlogo { width: 52px; height: 52px !important; } }

[data-scp-block] { transition: opacity .15s; }
[data-scp-block].is-loading { opacity: .5; pointer-events: none; }

/* match page tabs (like the app's match card) */
.scp-mtabs { margin: 0 0 16px; }
.scp-tabbar { position: sticky; top: var(--scp-sticky, 64px); z-index: 5; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 2px; margin: 0 0 12px; background: var(--k-bg); }
.scp-tabbar::-webkit-scrollbar { display: none; }
.scp-tabbar button { flex: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--k-muted); background: var(--k-surface); border: 1px solid var(--k-line); border-radius: 999px; padding: 7px 16px; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.scp-tabbar button:hover { color: var(--k-ink); }
.scp-tabbar button.is-on { background: var(--k-brand); border-color: var(--k-brand); color: #fff; }
.scp-tabp[hidden] { display: none; }
.scp-tabp > .scp-summary { margin-top: 0; }
.scp-table tr.is-mine td { background: var(--k-brand-soft); font-weight: 700; }
.scp-news { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.scp-news a { display: flex; gap: 12px; align-items: center; }
.scp-news a:hover b { color: var(--k-brand); }
.scp-news .scp-news-img { flex: none; width: 112px; height: 68px; object-fit: cover; border-radius: 10px; background: var(--k-surface-2); display: block; }
.scp-news b { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.5; }
.scp-news small { color: var(--k-muted); font-size: 12.5px; }

/* ======================================================================
   Design 2 (Oct 2026): flat, compact, neutral – like the big score apps.
   One accent (brand blue), thin dividers, no glow / gradients / pills.
   ====================================================================== */
.scp, .scp-wrap { --k-hover: color-mix(in srgb, var(--k-ink) 4%, var(--k-surface)); }
.scp { font-feature-settings: "tnum" 1; }
.scp [hidden] { display: none !important; }

/* days: one strip with an underline on the chosen day */
.scp-days { gap: 2px; margin: 0 0 4px; border-bottom: 1px solid var(--k-line); }
.scp-days-list { gap: 0; }
.scp-day { flex: 1 0 66px; padding: 8px 4px 9px; border: 0; border-radius: 0; background: transparent; color: var(--k-muted); box-shadow: inset 0 -2px 0 transparent; }
.scp-day small { font-size: 12.5px; }
.scp-day b { font-size: 15px; font-weight: 600; color: var(--k-muted); }
.scp-day:hover { border: 0; color: var(--k-ink); }
.scp-day:hover b { color: var(--k-ink); }
.scp-day.is-cur { background: transparent; color: var(--k-ink); box-shadow: inset 0 -2px 0 var(--k-brand); }
.scp-day.is-cur b { color: var(--k-ink); font-weight: 700; }
.scp-days-arrow, .scp-days-pick { width: 40px; height: 40px; border: 0; background: transparent; border-radius: 10px; }
.scp-days-arrow:hover, .scp-days-pick:hover { background: var(--k-hover); color: var(--k-ink); }

/* quick filter */
.scp-filt { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 12px 0 2px; margin: 0 0 10px; }
.scp-filt::-webkit-scrollbar { display: none; }
.scp-chip { flex: none; font: inherit; font-size: 13px; font-weight: 500; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--k-ink) 14%, transparent); background: transparent; color: var(--k-muted); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.scp-chip:hover { color: var(--k-ink); }
.scp-chip.is-on { background: var(--k-ink); border-color: var(--k-ink); color: var(--k-bg); }
.scp-chip-n { font-size: 12px; font-weight: 700; color: var(--k-live); }
.scp-chip-n:empty { display: none; }
.scp-livebar { display: none; }

/* league = one block, matches = rows inside it */
.scp-lg { margin: 0 0 12px; background: var(--k-surface); border-radius: 14px; overflow: hidden; }
.scp-lg-head { min-height: 46px; padding: 0 14px; border-bottom: 1px solid var(--k-line); }
.scp-lg-logo { border-radius: 5px; }
.scp-lg-name { font-size: 14px; font-weight: 600; gap: 8px; }
.scp-lg-name small { font-size: 12px; }
.scp-lg-more { color: var(--k-muted); font-size: 12.5px; }
.scp-lg-more:hover { color: var(--k-ink); }
.scp-lg .scp-card { background: transparent; border: 0; border-radius: 0; }
.scp-row { min-height: 60px; padding: 8px 14px; gap: 8px; border-top-color: color-mix(in srgb, var(--k-ink) 5%, transparent); }
.scp-row:hover { background: var(--k-hover); }
.scp-team { font-size: 14.5px; font-weight: 600; gap: 8px; }
.scp-row.is-finished .scp-team:not(.is-win) .scp-tname { font-weight: 400; }
.scp-logo { width: 24px; height: 24px !important; }
.scp-mid { min-width: 70px; gap: 1px; }
.scp-score, .is-live .scp-score { background: transparent; box-shadow: none; padding: 0; font-size: 17px; gap: 7px; }
.scp-row.is-finished .scp-score { color: color-mix(in srgb, var(--k-ink) 85%, var(--k-muted)); }
.scp-time { background: transparent; padding: 0; font-size: 15px; font-weight: 600; }
.scp-row .scp-min { font-size: 11.5px; }
.scp-row .scp-min .scp-dot { display: none; }
.scp-st, .scp-ch { font-size: 10.5px; }
.scp-empty { border: 0; border-radius: 14px; }

/* boxes */
.scp-box { border: 0; border-radius: 14px; }
.scp-card { border: 0; border-radius: 14px; }

/* match header: flat, the score does the talking */
.scp-hero, .scp-hero.is-live { background: transparent; border: 0; border-radius: 0; padding: 6px 0 16px; margin: 0 0 6px; border-bottom: 1px solid var(--k-line); }
.scp-hero-lg { font-size: 13px; margin: 0 0 16px; }
.scp-hteam { font-size: 15.5px; font-weight: 600; }
.scp-hlogo { filter: none; width: 56px; height: 56px !important; }
.scp-hero .scp-score { background: transparent; box-shadow: none; padding: 0; font-size: 40px; gap: 12px; letter-spacing: .5px; }
.scp-hero .scp-time { background: transparent; padding: 0; font-size: 28px; }
.scp-hero .scp-min .scp-dot { width: 6px; height: 6px; }
.scp-hero-goals { font-size: 12px; }

/* tabs: text with an underline */
.scp-tabbar { gap: 0; padding: 0; margin: 0 0 12px; border-bottom: 1px solid var(--k-line); }
.scp-tabbar button, .scp-tabbar button.is-on { border: 0; border-radius: 0; background: transparent; padding: 0 14px; height: 46px; font-weight: 500; color: var(--k-muted); box-shadow: inset 0 -2px 0 transparent; }
.scp-tabbar button:hover { color: var(--k-ink); }
.scp-tabbar button.is-on { color: var(--k-ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--k-brand); }

/* events / stats / form */
.scp-events li { border-top-color: color-mix(in srgb, var(--k-ink) 5%, transparent); padding: 10px 0; }
.scp-ev-ic { background: transparent; width: 20px; }
.scp-ev-ic.is-goal { color: var(--k-ink); }
.scp-ev-ic.is-sub { color: var(--k-win); }
.scp-bar { height: 6px; }
.scp-bar i + i { background: color-mix(in srgb, var(--k-ink) 16%, transparent); opacity: 1; }
.scp-f { background: color-mix(in srgb, var(--k-ink) 22%, var(--k-surface)); }
.scp-f.is-w { background: #1E7F4D; }
.scp-f.is-l { background: #B3261E; }
.scp-num { background: color-mix(in srgb, var(--k-ink) 7%, transparent); }

/* standings */
.scp-table td { border-bottom-color: color-mix(in srgb, var(--k-ink) 5%, transparent); padding-top: 10px; padding-bottom: 10px; }
.scp-table tr:hover td { background: var(--k-hover); }
.scp-table tr.is-mine td { background: color-mix(in srgb, var(--k-brand) 9%, transparent); }

/* app box: calm, not a gradient banner */
.scp-app { background: var(--k-surface); color: var(--k-ink); }
.scp-app > .scp-i { color: var(--k-brand); }
.scp-btn { background: var(--k-brand); color: #fff !important; }

.scp-lgc { border: 0; }
.scp-lgc:hover { background: var(--k-hover); color: var(--k-ink); }

@media (max-width: 560px) {
  .scp-row { padding: 8px 12px; }
  .scp-team { font-size: 14px; }
  .scp-logo { width: 22px; height: 22px !important; }
  .scp-hero .scp-score { font-size: 34px; }
  .scp-day { flex-basis: 58px; }
}
.scp-hero-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px; margin: 14px 0 0; padding: 10px 0 0; border-top: 1px solid var(--k-line); font-size: 12.5px; color: var(--k-muted); }
.scp-hero-meta .scp-i { width: 15px; height: 15px; color: var(--k-brand); }
.scp-hero-meta i { font-style: normal; color: var(--k-faint); }
.scp-hero { border-bottom: 0; }
.scp-bar i, .scp-bar i + i { background: color-mix(in srgb, var(--k-ink) 16%, transparent); opacity: 1; }
.scp-bar i.is-lead { background: var(--k-brand); }
.scp-st-top b { font-weight: 500; color: var(--k-muted); }
.scp-st-top b.is-lead { font-weight: 700; color: var(--k-ink); }
.scp-table td.scp-tm { display: table-cell; }
.scp-table td.scp-tm > a { display: flex; align-items: center; gap: 8px; }
.scp-table td.scp-tm > img, .scp-table td.scp-tm > span { vertical-align: middle; }
.scp-table td.scp-tm > img { margin-inline-end: 8px; }

/* live period above the score */
.scp-period { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--k-live); padding: 3px 10px; border-radius: 99px; background: color-mix(in srgb, var(--k-live) 12%, transparent); margin: 0 0 4px; }
.scp-period .scp-dot { width: 6px; height: 6px; }

/* events: a timeline, minute in the middle, home on one side, away on the other */
.scp-evhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.scp-evhead h2 { font-size: 16.5px; font-weight: 700; margin: 0; }
.scp-evtog { display: inline-flex; padding: 3px; border-radius: 9px; background: color-mix(in srgb, var(--k-ink) 7%, transparent); }
.scp-evtog button { font: inherit; font-size: 12.5px; font-weight: 600; border: 0; background: transparent; color: var(--k-muted); padding: 4px 12px; border-radius: 7px; cursor: pointer; }
.scp-evtog button.is-on { background: var(--k-surface); color: var(--k-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.scp-tl { list-style: none; margin: 0; padding: 0; position: relative; }
.scp-tl::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 50%; width: 1px; background: var(--k-line); }
.scp-tl-ev { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr); align-items: center; min-height: 52px; }
.scp-tl-min { justify-self: center; position: relative; z-index: 1; min-width: 40px; height: 26px; padding: 0 6px; display: grid; place-items: center; border-radius: 99px; background: var(--k-surface); border: 1px solid var(--k-line); font-size: 12.5px; font-weight: 700; color: var(--k-ink); direction: ltr; }
.scp-tl-ev.is-goal .scp-tl-min, .scp-tl-ev.is-penalty .scp-tl-min, .scp-tl-ev.is-own_goal .scp-tl-min { border-color: var(--k-brand); color: var(--k-brand); }
.scp-tl-cell { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; }
.scp-tl-ev > .scp-tl-cell:first-child { justify-content: flex-start; padding-inline-end: 6px; }
.scp-tl-ev > .scp-tl-cell:last-child { flex-direction: row-reverse; justify-content: flex-start; text-align: left; padding-inline-start: 6px; }
.scp-tl-mark { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 6px; margin: 6px auto; width: max-content; max-width: 100%; padding: 4px 12px; border-radius: 99px; background: var(--k-surface); border: 1px solid var(--k-line); font-size: 12px; color: var(--k-muted); }
.scp-tl-mark .scp-i { width: 14px; height: 14px; color: var(--k-brand); }
.scp-tl.is-key-only .scp-tl-ev:not(.is-key) { display: none; }
.scp-tl.is-key-only .scp-tl-mark:not(.is-key):not(:first-child) { display: none; }
.scp-linkbtn { font: inherit; font-weight: 600; font-size: 14px; color: var(--k-brand); background: transparent; border: 0; cursor: pointer; padding: 6px 0 0; }

/* possession: the big one */
.scp-poss { padding: 4px 0 12px !important; }
.scp-poss-top { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; }
.scp-poss-t { display: inline-flex; align-items: center; gap: 8px; }
.scp-poss-t img { width: 24px; height: 24px !important; object-fit: contain; }
.scp-poss-t b { font-size: 22px; font-weight: 700; color: var(--k-muted); }
.scp-poss-t b.is-lead { color: var(--k-ink); }
.scp-poss-l { font-size: 13px; color: var(--k-muted); }
.scp-bar.is-big { height: 10px; gap: 4px; }
.scp-bar.is-big i { border-radius: 5px; }
/* both sides hug the minute in the middle (RTL: home on the right, away on the left) */
.scp-tl-ev > .scp-tl-cell:first-child { flex-direction: row-reverse; justify-content: flex-start; text-align: left; padding-inline-end: 10px; padding-inline-start: 0; }
.scp-tl-ev > .scp-tl-cell:last-child { flex-direction: row; justify-content: flex-start; text-align: right; padding-inline-start: 10px; padding-inline-end: 0; }
.scp-hero .scp-min .scp-dot { display: none; }

/* live clock: ring + running time */
.scp-clock { position: relative; width: 58px; height: 58px; display: grid; place-items: center; margin: 4px 0 2px; }
.scp-clock svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.scp-clock circle { fill: none; stroke-width: 3; }
.scp-clock-t { stroke: color-mix(in srgb, var(--k-ink) 10%, transparent); }
.scp-clock-p { stroke: var(--k-live); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.scp-clock b { position: relative; font-size: 14px; font-weight: 700; color: var(--k-live); letter-spacing: .3px; }
.scp-clock.is-ht b { font-size: 11px; color: var(--k-muted); }
.scp-clock.is-ht .scp-clock-p { stroke: var(--k-muted); }

/* names that open a card */
.scp .scp-plink, .scp-plink { -webkit-appearance: none; appearance: none; border-radius: 0; font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
.scp-plink:hover { color: var(--k-brand); text-decoration: underline; text-underline-offset: 3px; }
.scp-vlink { display: inline-flex; align-items: center; gap: 4px; }
.scp-vlink .scp-i { width: 14px; height: 14px; color: var(--k-brand); }

/* pop-up card */
.scp-pop { position: fixed; inset: 0; z-index: 9999; display: none; align-items: flex-end; justify-content: center; }
.scp-pop.is-open { display: flex; }
.scp-pop-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.scp-pop-box { position: relative; width: 100%; max-width: 440px; max-height: 86vh; overflow: auto; background: var(--k-surface); color: var(--k-ink); border-radius: 18px 18px 0 0; padding: 18px 16px 22px; box-shadow: 0 -10px 40px rgba(0, 0, 0, .35); }
@media (min-width: 640px) { .scp-pop { align-items: center; } .scp-pop-box { border-radius: 18px; } }
.scp-pop-x { position: absolute; top: 8px; left: 8px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: color-mix(in srgb, var(--k-ink) 7%, transparent); color: var(--k-ink); font-size: 22px; line-height: 1; cursor: pointer; z-index: 1; }
.scp-pop-img { display: block; width: calc(100% + 32px); max-width: none; margin: -18px -16px 14px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px 18px 0 0; background: var(--k-surface-2); }
.scp-pop-title { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.scp-pop-load { text-align: center; padding: 30px 0; }
.scp-pl-head { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; padding-inline-end: 40px; }
.scp-pl-photo { width: 76px; height: 76px !important; border-radius: 50%; object-fit: cover; background: var(--k-surface-2); flex: none; }
.scp-pl-head p { margin: 2px 0 0; font-size: 13.5px; }
.scp-pl-team { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.scp-pl-team img { width: 20px; height: 20px !important; object-fit: contain; }
.scp-pl-season { font-size: 12.5px; color: var(--k-muted); margin: 0 0 8px; }
.scp-pl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; }
.scp-pl-grid div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 12px; background: color-mix(in srgb, var(--k-ink) 5%, transparent); }
.scp-pl-grid b { font-size: 18px; font-weight: 700; }
.scp-pl-grid span { font-size: 11.5px; color: var(--k-muted); }
.scp-pl-inj { margin: 10px 0 0; color: var(--k-live); font-weight: 600; font-size: 13.5px; }
html.scp-noscroll { overflow: hidden; }

/* absent players */
.scp-ab-col h3 { display: flex; align-items: center; gap: 8px; font-size: 14.5px; margin: 0 0 8px; }
.scp-ab-col h3 img { width: 20px; height: 20px !important; object-fit: contain; }
.scp-ab { list-style: none; margin: 0; padding: 0; }
.scp-ab li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid color-mix(in srgb, var(--k-ink) 5%, transparent); }
.scp-ab li:first-child { border-top: 0; }
.scp-ab-ic { flex: none; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; background: var(--k-live); }
.scp-ab-ic.is-q { background: #C98A00; }
.scp-ab-who { display: flex; flex-direction: column; font-size: 14px; }
.scp-ab-who small { color: var(--k-muted); font-size: 12px; }
/* highlights */
.scp-vid { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; margin: 0 0 10px; }
.scp-vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.scp-vlinkbox { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--k-ink) 6%, transparent); font-weight: 600; margin: 0 0 8px; }
.scp-vlinkbox .scp-i { color: var(--k-brand); }

/* ---------- videos (goal clips + highlights) ---------- */
.scp-yt { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.scp-yt.is-big { margin: 0 0 12px; }
.scp-yt.is-short.is-big { max-width: 360px; aspect-ratio: 9 / 16; margin-inline: auto; }
.scp-yt > button { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.scp-yt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scp-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.scp-yt-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(0,0,0,.62); color: #fff; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); transition: transform .15s, background .15s; }
.scp-yt-play .scp-i { width: 22px; height: 22px; margin-inline-start: 3px; }
.scp-yt > button:hover .scp-yt-play, .scp-vc:hover .scp-yt-play { background: var(--k-brand); transform: translate(-50%, -50%) scale(1.06); }
.scp-vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.scp-vc { display: flex; flex-direction: column; gap: 6px; color: var(--k-ink) !important; text-decoration: none !important; min-width: 0; }
.scp-vc-th { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--k-surface-2); }
.scp-vc-th img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.scp-vc:hover .scp-vc-th img { transform: scale(1.04); }
.scp-vc .scp-yt-play { width: 40px; height: 40px; }
.scp-vc .scp-yt-play .scp-i { width: 16px; height: 16px; }
.scp-vc-b { position: absolute; top: 8px; inset-inline-start: 8px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: rgba(0,0,0,.7); color: #fff; }
.scp-vc-b.is-goal { background: var(--k-live); }
.scp-vc-t { font-size: 14px; font-weight: 600; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scp-vc-m { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--k-muted); min-width: 0; }
.scp-vc-m > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scp-vc-m b { color: var(--k-ink); flex: none; }
.scp-vc-m i { font-style: normal; flex: none; margin: 0 -2px; }
.scp-vc-m img { flex: none; }
.scp-vc-d { font-size: 12px; color: var(--k-faint); }
.scp-vh1 { font-size: 22px; line-height: 1.5; margin: 4px 0 12px; }
.scp-vmeta { font-size: 13px; color: var(--k-muted); margin: 0 0 12px; }
.scp-vmatch { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; background: var(--k-surface); color: var(--k-ink) !important; text-decoration: none !important; margin: 0 0 12px; }
.scp-vmatch-t { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 14px; }
.scp-vmatch-s { direction: rtl; font-variant-numeric: tabular-nums; font-size: 24px; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.scp-vmatch-s i { font-style: normal; color: var(--k-faint); font-weight: 400; }
.scp-vmatch-go { grid-column: 1 / -1; text-align: center; font-size: 13px; color: var(--k-brand); font-weight: 600; }
.scp-vdesc { font-size: 15px; line-height: 1.8; margin: 0 0 10px; }
.scp-vtags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.scp-vtags span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--k-surface-2); color: var(--k-muted); }
.scp-pager { display: flex; justify-content: center; gap: 10px; margin: 18px 0; }
.scp .scp-btn.is-ghost { background: var(--k-surface); color: var(--k-ink) !important; }
.scp-filt a.scp-chip { text-decoration: none; }
.scp-filt a.scp-chip .scp-img, .scp-filt a.scp-chip img { width: 16px; height: 16px; }
@media (max-width: 560px) { .scp-vgrid { grid-template-columns: 1fr 1fr; gap: 10px; } .scp-vc-t { font-size: 13px; } .scp-vh1 { font-size: 19px; } }
.scp-nw { white-space: nowrap; }
.scp-vc-b.is-full { background: var(--k-brand); }

/* tweets + videos without a picture */
.scp-x { display: flex; justify-content: center; margin: 0 0 12px; min-height: 120px; }
.scp-x .twitter-tweet { margin: 0 auto !important; }
.scp-x blockquote:not(.twitter-tweet-rendered) { max-width: 520px; padding: 14px 16px; border-radius: 12px; background: var(--k-surface-2); color: var(--k-ink); font-size: 15px; line-height: 1.7; }
.scp-vc-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(135deg, #0f2a1c, #0b0c0e); color: #fff; }
.scp-vc-ph i { font-style: normal; opacity: .6; }
.scp-vc-ph em { position: absolute; bottom: 8px; inset-inline-end: 10px; font-style: normal; font-size: 11px; opacity: .8; }

/* opening a match: instant feedback (no "did my tap work?") */
a.scp-row, a.scp-vc { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a.scp-row:active { background: var(--k-hover, rgba(127,127,127,.12)); }
.scp-row.is-going, .scp-vc.is-going { opacity: .55; }
html.scp-nav::before { content: ''; position: fixed; top: 0; right: 0; height: 3px; width: 100%; z-index: 100000; background: #E0313F; transform-origin: right; animation: scp-bar 1.6s ease-out forwards; }
@keyframes scp-bar { from { transform: scaleX(0); } to { transform: scaleX(.9); } }

/* X videos played from their own MP4 (instant, no X script) */
.scp-xv { background: #000; border-radius: 12px; overflow: hidden; margin: 8px 0; }
.scp-xv video { display: block; width: 100%; max-height: 72vh; background: #000; }
.scp-xv-src { display: block; padding: 8px 12px; font-size: 13px; color: inherit; opacity: .8; text-decoration: none; background: rgba(255,255,255,.04); }
.scp-xv-src b { display: inline-block; padding: 0 6px; border-radius: 4px; background: #000; color: #fff; border: 1px solid rgba(255,255,255,.3); font-size: 11px; }


/* 1.0.38 (Design 3): the league name on its own bar, each match its own soft card, the score in a small dark pill */
.scp-lg { background: transparent; border-radius: 0; overflow: visible; margin: 0 0 14px; }
.scp-lg-head { background: var(--k-surface); border-radius: 12px; border: 0; min-height: 44px; margin: 0 0 6px; }
.scp-lg .scp-card { display: flex; flex-direction: column; gap: 6px; overflow: visible; }
.scp-lg .scp-card > .scp-row { background: var(--k-surface); border-radius: 12px; border-top: 0; }
.scp-lg .scp-card > .scp-row:hover { background: var(--k-hover); }
.scp-lg .scp-sep { padding: 6px 8px 0; }
.scp-row { transition: background .15s, transform .12s; }
.scp-row:active { transform: scale(.985); }
.scp-lg .scp-score, .scp-lg .is-live .scp-score { background: var(--k-bg); padding: 3px 10px; border-radius: 9px; }
.scp-lg .is-live .scp-score { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--k-live) 45%, transparent); }
.scp-lg .scp-time { background: var(--k-bg); padding: 3px 10px; border-radius: 9px; }
@media (max-width: 560px) {
  .scp-row { padding: 9px 10px; gap: 6px; }
  .scp-team { font-size: 13.5px; gap: 7px; }
  .scp-mid { min-width: 66px; }
}
/* iPhone (WebKit): the day strip / tab bars never make the page wider than the screen */
.scp-days, .scp-days-list, .scp-tabbar, .scp-filt, .scp-table-wrap { min-width: 0; max-width: 100%; }
.scp, .scp-dayview, .scp-lg, .scp-card { min-width: 0; max-width: 100%; }

/* ------------------------------------------------------------------ فانتازي الدوري المصري (/fantasy/) */
.scp-fz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 860px) { .scp-fz-grid { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.scp-fz-head p { max-width: 760px; }
.scp-fz-nav { margin-bottom: 14px; }
.scp-fz-nav .scp-chip { text-decoration: none; }
.scp-fz-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.scp-fz-cta .scp-btn { background: var(--k-brand); color: #fff !important; padding: 11px 20px; font-size: 15px; }
.scp-btn.is-ghost { background: var(--k-surface); color: var(--k-ink) !important; border: 1px solid var(--k-line); }
.scp-fz-cta .scp-btn.is-ghost { background: var(--k-surface); color: var(--k-ink) !important; }
.scp-btn .scp-i { width: 18px; height: 18px; }
.scp-fz-dl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--k-brand) 22%, var(--k-surface)), var(--k-surface)); }
.scp-fz-dl-t small { color: var(--k-muted); font-size: 13px; }
.scp-fz-dl-t h2 { font-size: 22px; margin: 2px 0; }
.scp-fz-dl-t h2 a:hover { color: var(--k-brand); }
.scp-fz-dl-t p { margin: 0; font-size: 14px; }
.scp-fz-cd { display: flex; gap: 8px; direction: rtl; }
.scp-fz-cd span { min-width: 60px; text-align: center; padding: 8px 6px; border-radius: 12px; background: color-mix(in srgb, var(--k-ink) 7%, transparent); }
.scp-fz-cd b { display: block; font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; }
.scp-fz-cd small { font-size: 11.5px; color: var(--k-muted); }
.scp-fz-cd.is-over { opacity: .45; }
.scp-fz-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 0 0 16px; }
.scp-box .scp-fz-stats { margin: 0; }
.scp-fz-stats > div { background: var(--k-surface); border: 1px solid var(--k-line); border-radius: 12px; padding: 10px 12px; text-align: center; }
.scp-box .scp-fz-stats > div { background: color-mix(in srgb, var(--k-ink) 4%, transparent); border: 0; }
.scp-fz-stats b { display: block; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.scp-fz-stats small { font-size: 12px; color: var(--k-muted); }
.scp-fz-shirt { flex: none; object-fit: contain; filter: drop-shadow(0 3px 5px rgba(0,0,0,.3)); }
.scp-fz-shirt.is-plain { display: inline-block; color: var(--c); }
.scp-fz-shirt.is-plain svg { width: 100%; height: 100%; display: block; }
.scp-fz-club { display: inline-flex; align-items: center; gap: 5px; }
.scp-fz-club img { width: 16px; height: 16px; object-fit: contain; }
/* lists */
.scp-fz-list ol { list-style: none; margin: 0; padding: 0; }
.scp-fz-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid color-mix(in srgb, var(--k-ink) 6%, transparent); }
.scp-fz-list li:last-child { border-bottom: 0; }
.scp-fz-n { width: 20px; flex: none; text-align: center; font-size: 13px; color: var(--k-muted); font-variant-numeric: tabular-nums; }
.scp-fz-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.scp-fz-who b { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scp-fz-who:hover b { color: var(--k-brand); }
.scp-fz-who small { font-size: 12px; color: var(--k-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scp-fz-v { flex: none; text-align: center; display: flex; flex-direction: column; min-width: 54px; }
.scp-fz-v b { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.scp-fz-v small { font-size: 11px; color: var(--k-muted); }
.scp-fz-list li .scp-fz-v small { max-width: 110px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scp-fz .is-up { color: var(--k-win); }
.scp-fz .is-down { color: var(--k-live); }
.scp-fz-st { flex: none; width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; font-weight: 800; font-style: normal; color: #fff; background: var(--k-live); }
.scp-fz-st.is-d { background: #F2A900; color: #1b1300; }
.scp-fz-st.is-u { background: var(--k-muted); }
.scp-fz-tbl .scp-fz-st { width: auto; height: auto; padding: 0 6px; border-radius: 6px; font-size: 10.5px; margin-inline-start: 4px; }
.scp-fz-alert { padding: 10px 14px; border-radius: 12px; margin: 0 0 14px; font-size: 14px; background: color-mix(in srgb, var(--k-live) 14%, transparent); border: 1px solid color-mix(in srgb, var(--k-live) 35%, transparent); }
.scp-fz-alert.is-d { background: color-mix(in srgb, #F2A900 14%, transparent); border-color: color-mix(in srgb, #F2A900 40%, transparent); }
.scp-fz-alert.is-u { background: color-mix(in srgb, var(--k-ink) 6%, transparent); border-color: var(--k-line); }
.scp-fz-note { font-size: 12.5px; margin: 10px 0 0; }
.scp-fz-sum { margin: 12px 0 6px; font-size: 14px; text-align: center; }
.scp-fz-sum a { color: var(--k-brand); }
/* pitch (team of the week) */
.scp-fz-pitch { max-width: 460px; }
.scp-fz-xi { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; width: 76px; z-index: 1; }
.scp-fz-xi b { margin-top: 2px; max-width: 76px; font-size: 11.5px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: rgba(8, 12, 20, .55); border-radius: 6px 6px 0 0; padding: 1px 6px; }
.scp-fz-xi i { font-style: normal; font-size: 11.5px; font-weight: 800; color: #0D1220; background: #fff; border-radius: 0 0 6px 6px; padding: 0 8px; min-width: 30px; text-align: center; }
.scp-fz-xi i.is-star { background: #F2C200; }
.scp-fz-xi:hover b { background: var(--k-brand); }
@media (max-width: 480px) { .scp-fz-xi { width: 62px; } .scp-fz-xi .scp-fz-shirt { width: 36px; height: 36px; } .scp-fz-xi b { font-size: 10.5px; max-width: 62px; } }
/* gameweeks */
.scp-fz-gws { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.scp-fz-gws a { display: flex; flex-direction: column; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--k-line); background: color-mix(in srgb, var(--k-ink) 3%, transparent); }
.scp-fz-gws a:hover { border-color: var(--k-brand); }
.scp-fz-gws a b { font-size: 14px; }
.scp-fz-gws a small { font-size: 12px; color: var(--k-muted); }
.scp-fz-gws a.is-live { border-color: var(--k-brand); }
.scp-fz-gws a.is-done { opacity: .8; }
.scp-fz-fx ul, .scp-fz-next ul, .scp-fz-prices, .scp-fz-notes { list-style: none; margin: 0; padding: 0; }
.scp-fz-fx li { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--k-ink) 6%, transparent); }
.scp-fz-fx li:last-child { border-bottom: 0; }
.scp-fz-t { display: flex; align-items: center; justify-content: flex-start; gap: 8px; font-weight: 600; font-size: 14px; min-width: 0; }
.scp-fz-t:not(.is-a) { justify-content: flex-end; }
.scp-fz-t img { width: 22px; height: 22px; object-fit: contain; flex: none; }
.scp-fz-sc { font-size: 16px; font-weight: 800; padding: 3px 10px; border-radius: 8px; background: color-mix(in srgb, var(--k-ink) 8%, transparent); font-variant-numeric: tabular-nums; }
.scp-fz-sc.is-live { color: var(--k-live); }
.scp-fz-ko { display: flex; flex-direction: column; align-items: center; font-size: 13px; font-weight: 700; min-width: 64px; }
.scp-fz-ko small { font-weight: 400; color: var(--k-muted); font-size: 11.5px; }
.scp-fz-notes li { padding: 4px 0; font-size: 14px; }
.scp-fz-notes li::before { content: '• '; color: var(--k-brand); }
.scp-fz-next li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid color-mix(in srgb, var(--k-ink) 6%, transparent); font-size: 14px; }
.scp-fz-next li:last-child { border-bottom: 0; }
.scp-fz-next li a { font-weight: 700; color: var(--k-brand); min-width: 32px; }
.scp-fz-next li span { flex: 1; }
.scp-fz-next li small { color: var(--k-muted); }
.scp-fz-fdr { font-style: normal; width: 26px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; }
.scp-fz-fdr.is-1 { background: #1F9D55; } .scp-fz-fdr.is-2 { background: #4CBB7A; } .scp-fz-fdr.is-3 { background: #8A919C; } .scp-fz-fdr.is-4 { background: #E5534B; } .scp-fz-fdr.is-5 { background: #B3261E; }
.scp-fz-prices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.scp-fz-prices li { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 10px; background: color-mix(in srgb, var(--k-ink) 4%, transparent); font-size: 13px; }
.scp-fz-pn { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 16px; }
/* player page */
.scp-fz-ph .scp-fz-photo { border-radius: 50%; background: var(--k-surface-2); padding: 0; object-fit: cover; }
.scp-fz-ph h1 small { display: block; font-size: .55em; margin-top: 2px; }
.scp-fz-ph p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
/* players table */
.scp-fz-filt { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; }
.scp-fz-pos { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; }
.scp-fz-filt select { height: 34px; border-radius: 8px; border: 1px solid var(--k-line); background: var(--k-surface); color: var(--k-ink); font: inherit; font-size: 13px; padding: 0 10px; }
.scp-fz-tbl td.scp-tm a { display: flex; flex-direction: column; align-items: flex-start; gap: 0; min-width: 0; }
.scp-fz-tbl td.scp-tm a b { font-weight: 700; }
.scp-fz-tbl td.scp-tm small { font-size: 11.5px; color: var(--k-muted); font-weight: 400; }
.scp-fz-tbl td small.is-up, .scp-fz-tbl td small.is-down { display: block; font-size: 11px; }
.scp-fz-tbl tr[hidden] { display: none; }
@media (max-width: 560px) { .scp-fz-tbl th:nth-child(4), .scp-fz-tbl td:nth-child(4), .scp-fz-tbl th:nth-child(6), .scp-fz-tbl td:nth-child(6) { display: none; } .scp-fz-cd span { min-width: 50px; } .scp-fz-cd b { font-size: 20px; } }
.scp-fz .scp-table th:last-child, .scp-fz .scp-table td:last-child { padding-inline-end: 16px; }
@media (max-width: 560px) {
  .scp-fz-stats { grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: 8px; }
  .scp-fz-stats > div { padding: 8px 6px; }
  .scp-fz-stats b { font-size: 17px; }
  .scp-fz-stats small { font-size: 11px; line-height: 1.35; display: block; }
}
/* /fantasy/play/: the game takes the page like an app (site header above, a row of links under it) */
.scp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.scp-fz-app { display: flex; flex-direction: column; align-items: center; }
.scp-fz-frame { width: 100%; max-width: 560px; border-radius: 22px; overflow: hidden; border: 1px solid var(--k-line); background: #0B0C0E; box-shadow: 0 24px 70px rgba(0,0,0,.35); }
.scp-fz-frame iframe { display: block; width: 100%; height: calc(100vh - 120px); min-height: 640px; border: 0; }
.scp-fz-under { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 16px 0 0; font-size: 13.5px; }
.scp-fz-under a { color: var(--k-muted); }
.scp-fz-under a:hover { color: var(--k-brand); }
@media (max-width: 860px) {
  .scp-fz-frame { max-width: none; margin: -16px -16px 0; width: calc(100% + 32px); border-radius: 0; border: 0; box-shadow: none; }
  .scp-fz-frame iframe { height: calc(100dvh - 128px); min-height: 520px; }
}
