*, *::before, *::after { box-sizing: border-box; }

/* Values below are measured from ysscores.com/ar/home (light theme), see ref/measurements.md */
:root {
  --bg: #f8f9fc;
  --card: #ffffff;
  --line: #e6eaf3;
  --line-2: #f1f2f8;
  --text: #0e1019;
  --text-2: #2a3142;
  --muted: #5f6579;
  --muted-2: #8b91a4;
  --teal: #10816e;
  --teal-2: #16ae94;
  --teal-ink: #1a7a68;
  --red: #ff3131;
  --champ: #e3e5f0;
  --radius: 10px;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  padding-bottom: 74px;
}

a { color: inherit; text-decoration: none; }
img { display: block; }

.wrap { width: 100%; max-width: 560px; margin: 0 auto; padding: 0 10px; }

/* ===== Top bar (ysscores mobile header: centred logo row, then tools row) ===== */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line-2);
}
.mh-brandrow { display: flex; align-items: center; justify-content: center; height: 54px; }
.brand { display: flex; align-items: center; justify-content: center; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; }

.mh-toolsrow { display: flex; align-items: center; gap: 6px; padding: 0 0 9px; }
.chart-btn {
  flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center;
  color: var(--teal-2); margin-inline-start: auto;
}
.chart-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.live-pill {
  display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
  padding: 6px 14px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); color: var(--text); font-weight: 700; font-size: 12.5px;
}
.live-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.icon-btn {
  flex: 0 0 32px; width: 32px; height: 32px; display: grid; place-items: center;
  background: transparent; border: 0; padding: 0; color: var(--muted); cursor: pointer;
}
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.mh-searchrow { padding-bottom: 8px; }
.mh-searchrow input {
  width: 100%; height: 34px; border: 1px solid var(--line); border-radius: 10px;
  padding: 0 12px; font-family: inherit; font-size: 12.5px; color: var(--text); background: var(--bg);
}
/* ===== Page head / filter row (ysscores .section-title: 51px, actions 26px tall) ===== */
.page-head { padding: 10px 0 4px; }
.crumbs { font-size: 11.5px; color: var(--muted-2); margin-bottom: 6px; }
.ph-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.page-head h1 {
  font-size: 14px; font-weight: 700; margin: 0; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.page-head h1.with-logo img { width: 26px; height: 26px; object-fit: contain; }
.date-nav {
  display: flex; align-items: center; gap: 2px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; height: 26px; padding: 0 2px;
}
.dbtn { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); font-size: 15px; line-height: 1; }
.dlabel { font-size: 11px; font-weight: 700; color: var(--text-2); padding: 0 2px; min-width: 76px; text-align: center; white-space: nowrap; }

.ph-sub { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.cnt b { color: var(--text); }
.cnt.live { display: inline-flex; align-items: center; gap: 5px; color: var(--red); }
.cnt.live b { color: var(--red); }
.upd { margin-inline-start: auto; color: var(--muted-2); font-size: 11px; }

.filters { display: flex; gap: 7px; margin-top: 10px; overflow-x: auto; padding-bottom: 2px; }
.fbtn {
  font-family: inherit; font-size: 11.5px; font-weight: 700; color: var(--muted);
  background: #fff; border: 1px solid var(--line); border-radius: 8px; height: 26px;
  padding: 0 9px; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center;
}
.fbtn.on { background: var(--teal); border-color: var(--teal); color: #fff; }

/* ===== Board ===== */
.board { padding: 10px 0 6px; display: flex; flex-direction: column; gap: 10px; }

.lgroup { display: flex; flex-direction: column; }
/* league header: measured 37px, bg rgb(227,229,240), radius 10, padding 0 10px 0 20px */
.lhead {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--champ); border-radius: var(--radius); height: 37px;
  padding: 0 10px 0 20px; margin-bottom: 8px;
}
.lname { display: flex; align-items: center; font-size: 13.5px; font-weight: 700; color: var(--text); min-width: 0; }
.lname img { width: 16px; height: 16px; object-fit: contain; margin-left: 10px; flex: 0 0 16px; }
.lname span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lcount { font-size: 12px; font-weight: 700; color: var(--text-2); margin-inline-start: auto; }
.lmore { width: 48px; height: 24px; display: grid; place-items: center; color: var(--muted); font-size: 15px; letter-spacing: 1px; }

.lbody { display: flex; flex-direction: column; gap: 8px; }

/* ===== Match row: measured 52px min-height, padding 8px 10px 8px 34px, radius 10 ===== */
.mrow {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  min-height: 52px; padding: 8px 10px 8px 34px;
}
.mrow.is-live { min-height: 66px; padding: 10px 34px; margin-bottom: 4px; }

.match-team-item { display: flex; align-items: center; min-width: 0; }
.first-team { justify-content: flex-end; }
.second-team { justify-content: flex-start; }
.team---item { display: inline-flex; align-items: center; min-width: 0; }
.first-team .team---item b { text-align: right; }
.second-team .team---item b { text-align: left; }
.team---item b {
  font-size: 13.5px; font-weight: 700; color: var(--text);
  max-width: 68px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mrow.is-live .team---item b { font-size: 12.5px; max-width: 80px; }
.team---item .img { width: 26px; height: 26px; flex: 0 0 26px; margin-right: 10px; }
.second-team .team---item .img { margin-right: 0; margin-left: 10px; }
.mrow.is-live .team---item .img { width: 36px; height: 36px; flex: 0 0 36px; }
.team---item .img img { max-width: 100%; max-height: 100%; object-fit: contain; margin: 0 auto; }

/* live centre: score, ring with mm:ss, status pill (measured 19px score, 50px ring, 16px clock) */
.active-match-progress { display: flex; align-items: center; justify-content: center; position: relative; min-width: 76px; margin: 0 8px; }
.team-result { font-size: 19px; font-weight: 700; color: rgb(91, 83, 83); line-height: 1; }
.team-result.winner { color: var(--text); }
.result-sep { color: var(--muted-2); font-size: 15px; margin: 0 4px; }
.match-inner-progress-wrap { position: relative; width: 50px; height: 50px; margin: 0 8px; }
.match-inner-progress-wrap::before {
  content: ''; width: 3px; height: 7px; background: #fbcc33; position: absolute;
  right: 50%; transform: translateX(50%); top: -3px; border-radius: 5px; z-index: 5;
}
.match-inner-progress-wrap svg {
  position: relative; width: 50px; height: 50px; transform: rotate(270deg);
  border-radius: 100%; background: var(--bg);
}
.match-inner-progress-wrap circle { width: 100%; height: 100%; fill: transparent; stroke-width: 3; stroke: var(--bg); }
.match-inner-progress-wrap circle:nth-child(2) {
  stroke: var(--teal-2); stroke-dasharray: 440; stroke-dashoffset: calc(440 - 156 * var(--num, 0) / 100);
}
.match-inner-progress-wrap .number {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 16px; font-weight: 700; direction: ltr;
}
.match-inner-progress-wrap .number.small { font-size: 12px; }
.live-status {
  position: absolute; top: calc(100% + 2px); right: 50%; transform: translateX(50%);
  font-size: 9px; font-weight: 700; color: var(--teal-ink); white-space: nowrap;
  background: rgba(26, 155, 132, .12); border: 1px solid rgba(26, 155, 132, .18);
  border-radius: 6px; padding: 1px 5px;
}
.match-status {
  position: absolute; top: calc(100% + 2px); right: 50%; transform: translateX(50%);
  font-size: 9px; font-weight: 600; color: var(--muted); white-space: nowrap;
}

/* kickoff / finished centre block */
.result-wrap {
  background: var(--bg); border-radius: 8px; padding: 6px 10px;
  font-size: 12.5px; font-weight: 700; color: var(--text); text-align: center;
  display: inline-flex; align-items: baseline; gap: 3px; direction: rtl;
}
.result-wrap .mb-meridiem { font-size: 9.5px; }
.result-wrap .match-date { font-size: 12.5px; }

.active-match-quick-links {
  position: absolute; left: 7px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 8px; background: var(--champ);
  display: grid; place-items: center; color: var(--teal); font-size: 13px;
}
.active-match-quick-links svg { width: 15px; height: 15px; }

.card-mark { width: 9px; height: 12px; background: var(--red); border-radius: 2px; display: inline-block; margin-inline-start: 3px; }

.empty { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px; text-align: center; color: var(--muted); }
.empty a { color: var(--teal); }

/* ===== leagues strip ===== */
.leagues-strip { padding: 12px 0 8px; }
.leagues-strip h2 { font-size: 13.5px; font-weight: 700; margin: 0 0 8px; color: var(--text); }
.lg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 7px; }
.lg-chip { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; font-size: 12px; font-weight: 700; color: var(--text-2); }

/* ===== match page header (measured from ysscores .profile-header-wrapper.match) ===== */
.mhead { background: var(--champ); border-radius: 14px; overflow: hidden; margin-top: 10px; }

.mm-toolbar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.mm-league-chip {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92);
  font-size: 13px; font-weight: 700; color: var(--text); min-width: 0;
}
.mm-league-chip .mm-league-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-league-logo { width: 22px; height: 22px; object-fit: contain; border-radius: 4px; flex: 0 0 22px; }
.mm-icon-btn {
  flex: 0 0 auto; width: 36px; height: 36px; margin-inline-start: auto;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid rgba(14,16,25,.06); background: rgba(255,255,255,.85);
  color: var(--text-2); font-size: 15px; cursor: pointer;
}

.mprofile-details {
  display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: start; column-gap: 8px; min-height: 128px; padding: 8px 14px 12px;
}
.team-item { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; }
.team-item.right-team { grid-column: 1; }
.team-item.left-team { grid-column: 3; }
.team-item .img { width: 64px; height: 64px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.team-item .img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.team-item h3 { margin: 10px 0 0; padding: 0 4px; font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--text); }

.mdetails { grid-column: 2; align-self: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.mdetails .main-result { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 4px; }
.mdetails .main-result > b { flex: 1 1 0; min-width: 24px; font-size: 32px; font-weight: 800; line-height: 1; color: var(--text); }
.mdetails .main-result > b:first-of-type { text-align: end; padding-inline-end: 2px; }
.mdetails .main-result > b:last-of-type { text-align: start; padding-inline-start: 2px; }
.mdetails .time { font-size: 22px; font-weight: 800; color: var(--text); line-height: 1; letter-spacing: -.5px; }

.mdetails .match-inner-progress-wrap { width: 58px; height: 58px; margin: 0; }
.mdetails .match-inner-progress-wrap svg { width: 58px; height: 58px; }
.mdetails .match-inner-progress-wrap .number { font-size: 13px; font-weight: 800; color: var(--teal); }
.mdetails .live-status { top: auto; bottom: calc(100% + 5px); font-size: 10px; padding: 3px 10px; border-radius: 999px; }

.mmeta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding: 0 14px 12px; }
.mm-meta-item { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: rgb(92,100,120); }
.mm-meta-item svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.6; }

.mlinks { display: flex; align-items: stretch; gap: 0; overflow-x: auto; background: rgba(14,16,25,.03); padding: 0 12px; }
.mtab { display: inline-flex; align-items: center; height: 44px; padding: 0 10px; font-size: 13px; font-weight: 600; color: rgb(92,100,120); white-space: nowrap; }
.mtab.on { font-weight: 700; color: rgb(26,155,132); }

.info-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-top: 10px; }
.info-card h2 { font-size: 13.5px; margin: 0 0 8px; color: var(--text); }
.info-list { margin: 0; display: grid; gap: 2px; }
.info-list > div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.info-list > div:last-child { border-bottom: 0; }
.info-list dt { color: var(--muted); font-size: 12px; margin: 0; }
.info-list dd { margin: 0; font-size: 12.5px; font-weight: 700; text-align: left; color: var(--text-2); }


/* ===== standings table ===== */
.table-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-top: 10px; overflow: hidden; }
.standings { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.standings th { background: var(--champ); color: var(--text-2); font-size: 11px; font-weight: 700; padding: 9px 4px; text-align: center; }
.standings th.team, .standings td.team { text-align: right; padding-inline-start: 8px; }
.standings td { padding: 9px 4px; text-align: center; border-top: 1px solid var(--line-2); color: var(--text); }
.standings td.pos { color: var(--muted); font-weight: 700; width: 26px; }
.standings td.team { display: flex; align-items: center; gap: 7px; font-weight: 700; }
.standings td.team img { width: 20px; height: 20px; object-fit: contain; flex: 0 0 20px; }
.standings td.team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.standings td.pts { font-weight: 800; color: var(--teal); }
.standings tr:nth-child(-n+5) td.pos { color: var(--teal); }
.table-note { font-size: 11px; color: var(--muted-2); padding: 9px 12px; border-top: 1px solid var(--line-2); text-align: center; }
@media (max-width: 420px) { .standings .hide-s { display: none; } }


/* ===== news list ===== */
.news-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.news-card { display: flex; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.news-thumb { width: 92px; height: 68px; flex: 0 0 92px; border-radius: 8px; overflow: hidden; background: var(--line-2); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.news-body b { font-size: 12.5px; font-weight: 700; color: var(--text); line-height: 1.35; }
.news-body p { margin: 0; font-size: 11.5px; color: var(--muted); line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-src { margin-top: auto; font-size: 10.5px; color: var(--teal); font-weight: 700; }


/* ===== match events + stats ===== */
.events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ev { display: flex; align-items: flex-start; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 12px; color: var(--text-2); }
.ev:last-child { border-bottom: 0; }
.ev-min { flex: 0 0 34px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.ev-ic { flex: 0 0 16px; font-size: 12px; line-height: 1.3; }
.ev-body { min-width: 0; line-height: 1.45; }
.ev-body b { color: var(--text); font-weight: 700; }
.ev-goal .ev-body b { color: var(--teal); }
.stats { display: flex; flex-direction: column; gap: 2px; }
.stat-row { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line-2); }
.stat-row:last-child { border-bottom: 0; }
.stat-row .sl { text-align: center; font-size: 11.5px; color: var(--muted); }
.stat-row .sv { text-align: center; font-size: 12.5px; font-weight: 700; color: var(--text); }

/* ===== bottom tab bar ===== */
.tabbar {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 70;
  background: #fff; border-top: 1px solid var(--line-2);
  display: flex; justify-content: space-around; align-items: center;
  padding: 6px 2px 8px;
}
.tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; color: var(--muted-2); min-width: 52px; }
.tab svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.tab.on { color: var(--teal); font-weight: 700; }

.site-foot { display: none; }

@media (min-width: 720px) {
  .wrap, .head-inner { max-width: 640px; }
  body { padding-bottom: 20px; }
  .tabbar { position: static; border-top: 0; margin-top: 18px; border-radius: 12px; border: 1px solid var(--line); }
}

/* ===== Match page v2 (measured from ysscores mobile) ===== */
.mhead2 { background: #eef1f5; border-radius: 0 0 18px 18px; padding: 10px 0 0; }
.mhead2 .mm-toolbar { display: flex; align-items: center; gap: 8px; padding: 0 10px; direction: rtl; }
.mm-arrow, .mm-icon-btn {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: #fff;
  border: 0; display: grid; place-items: center; color: #1b2430; cursor: pointer;
  box-shadow: 0 1px 3px rgba(16,24,40,.08);
}
.mm-league-chip {
  flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #fff; border-radius: 999px; padding: 7px 12px; color: #1b2430;
  font-weight: 700; font-size: 13px; box-shadow: 0 1px 3px rgba(16,24,40,.08);
}
.mm-league-text { display: flex; flex-direction: column; align-items: center; line-height: 1.25; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mm-league-text small { font-size: 11px; font-weight: 600; color: #6b7785; }
.mm-league-logo { width: 26px; height: 26px; object-fit: contain; }
.cd-pill {
  display: inline-block; margin-top: 6px; padding: 4px 12px; border-radius: 999px;
  background: #d8f5ee; color: #0f9b83; font-weight: 700; font-size: 12.5px; font-variant-numeric: tabular-nums;
}
.mhead2 .mprofile-details { padding: 14px 12px 6px; }
.mhead2 .mmeta { display: flex; justify-content: center; gap: 16px; padding: 6px 12px 12px; color: #4b5563; font-size: 12px; }
.mhead2 .mm-meta-item { display: inline-flex; align-items: center; gap: 5px; }
.mhead2 .mm-meta-item svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.mtabbar { display: flex; gap: 22px; overflow-x: auto; padding: 0 14px; background: #e9edf2; border-radius: 16px 16px 0 0; scrollbar-width: none; }
.mtabbar::-webkit-scrollbar { display: none; }
.mtabbar .mtab { flex: 0 0 auto; padding: 13px 0 11px; font-size: 14px; font-weight: 700; color: #4b5563; border-bottom: 3px solid transparent; white-space: nowrap; }
.mtabbar .mtab.on { color: #0f9b83; border-bottom-color: #0f9b83; }

.seg-toggle { display: flex; gap: 0; margin: 12px 12px 0; background: #fff; border: 1px solid #e5e9ef; border-radius: 12px; padding: 4px; }
.seg-toggle .seg { flex: 1 1 0; text-align: center; padding: 10px 6px; border-radius: 9px; font-weight: 700; font-size: 13.5px; color: #4b5563; }
.seg-toggle .seg.on { background: #17c2a4; color: #fff; }

.mrow-info { display: flex; flex-direction: column; }
.mrow-info > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid #eef1f5; }
.mrow-info > div:last-child { border-bottom: 0; }
.mrow-info span { color: #6b7785; font-size: 13px; }
.mrow-info b { font-size: 13.5px; font-weight: 700; color: #1b2430; }

.pitch-wrap { margin: 12px; border-radius: 14px; overflow: hidden; }
.pitch { position: relative; width: 100%; padding-top: 148%; background: #58a447; }
.pitch-lines { position: absolute; inset: 0; background:
  repeating-linear-gradient(to right, rgba(255,255,255,.07) 0 8.33%, rgba(0,0,0,.06) 8.33% 16.66%);
}
.pitch-lines::before { content: ""; position: absolute; inset: 10px; border: 2px solid rgba(255,255,255,.55); border-radius: 2px; }
.pitch-lines::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34%; padding-top: 34%; transform: translate(-50%, -50%); border: 2px solid rgba(255,255,255,.55); border-radius: 50%; }
.pitch-player { position: absolute; transform: translate(-50%, -50%); width: 74px; text-align: center; }
.pp-photo { position: relative; width: 46px; height: 46px; margin: 0 auto; border-radius: 50%; background: #fff; overflow: visible; }
.pp-photo img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #dfe4ea; display: block; }
.pp-av { display: block; width: 46px; height: 46px; border-radius: 50%; background: #dfe4ea; }
.pp-num { position: absolute; top: -4px; left: -4px; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 999px; background: #10151c; color: #fff; font-size: 10.5px; font-style: normal; font-weight: 700; line-height: 19px; text-align: center; }
.pp-card { position: absolute; top: -6px; right: -8px; width: 12px; height: 16px; border-radius: 2px; }
.pp-card.y { background: #ffd21f; }
.pp-card.r { background: #e53935; }
.pp-name { display: block; margin-top: 3px; color: #fff; font-size: 11px; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.pitch-form { position: absolute; left: 10px; bottom: 10px; background: #fff; color: #1b2430; border-radius: 8px; padding: 5px 10px; font-size: 12.5px; font-weight: 700; direction: ltr; }
.pitch-mark { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; opacity: .38; object-fit: contain; }

.subs { display: flex; flex-direction: column; }
.subs li { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid #eef1f5; font-size: 13px; }
.subs li:last-child { border-bottom: 0; }
.subs img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #dfe4ea; }
.subs b { margin-inline-start: auto; color: #6b7785; font-size: 12px; }

.standings td.team { position: relative; }
.zone { position: absolute; inset-inline-start: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; }
.zone.z1 { background: #2f80ed; }
.zone.z2 { background: #f2994a; }
.zone.z4 { background: #eb5757; }
.standings tr.hl { background: #e9f8f4; }

.scorers td.num, .scorers th.num { text-align: center; width: 74px; font-weight: 700; }
.scorers .ph { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #dfe4ea; }
.pcol { display: inline-flex; flex-direction: column; line-height: 1.3; }
.pcol small { color: #6b7785; font-size: 11.5px; }

.news-list { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.news-card { display: flex; gap: 10px; background: #fff; border: 1px solid #e5e9ef; border-radius: 14px; padding: 12px; }
.nc-txt { flex: 1 1 auto; min-width: 0; }
.nc-txt b { display: block; font-size: 14px; line-height: 1.5; color: #1b2430; }
.nc-txt p { margin: 6px 0 0; font-size: 12.5px; color: #6b7785; line-height: 1.6; }
.nc-img { flex: 0 0 96px; width: 96px; height: 72px; border-radius: 10px; object-fit: cover; }

.fans-q { text-align: center; color: #0f9b83; }
.vote-cards { display: flex; gap: 8px; margin-top: 10px; }
.vote-card { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; background: #f7f9fb; border: 1px solid #e5e9ef; border-radius: 14px; cursor: pointer; font-family: inherit; }
.vote-card img { width: 42px; height: 42px; object-fit: contain; }
.vote-card span { font-size: 12.5px; font-weight: 700; color: #1b2430; }
.vote-card .dash { font-size: 22px; color: #9aa4b2; }
.vote-card .vp { font-style: normal; font-size: 12px; font-weight: 700; color: #0f9b83; min-height: 15px; }
.vote-card.on { border-color: #17c2a4; background: #e9f8f4; }
.cform { margin-top: 8px; }
.cname { width: 100%; height: 36px; border: 1px solid #e5e9ef; border-radius: 10px; padding: 0 12px; font-family: inherit; font-size: 13px; margin-bottom: 8px; }
.crow { display: flex; align-items: flex-end; gap: 8px; }
.cbody { flex: 1 1 auto; min-height: 44px; max-height: 120px; border: 1px solid #e5e9ef; border-radius: 12px; padding: 11px 12px; font-family: inherit; font-size: 13px; resize: none; }
.csend { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: #10151c; color: #fff; border: 0; display: grid; place-items: center; cursor: pointer; }
.cmsg { margin-top: 6px; font-size: 12px; color: #0f9b83; min-height: 16px; }
.cmsg.err { color: #e53935; }
.clist { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ccom { display: flex; gap: 10px; background: #f7f9fb; border-radius: 14px; padding: 12px; }
.cav { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: #17c2a4; color: #fff; display: grid; place-items: center; font-weight: 700; }
.ctxt b { font-size: 13px; }
.ctxt small { display: block; color: #9aa4b2; font-size: 11px; margin: 2px 0 4px; }
.ctxt p { margin: 0; font-size: 13px; line-height: 1.6; color: #1b2430; }
