/* SMAT 2026: the parts the ILT20 page doesn't already style (site.css .il-*) */
.sm .tm.st { --t: var(--brand); }
.sm-watch { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; margin-top: 14px; }
.sm-pc { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.sm-pc-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.sm-pc h3 { margin: 0; font-size: 18px; line-height: 1.2; }
.sm-pc h3 a { color: var(--ink); text-decoration: none; }
.sm-pc h3 a:hover { color: var(--brand2); }
.sm-pc .who { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.sm-pts { text-align: right; }
.sm-pts b { display: block; font-family: var(--display); font-size: 30px; line-height: .95; color: var(--brand); font-weight: 800; }
.sm-pts small { font-size: 11px; color: var(--muted); }
.sm-line { margin: 0; font-size: 13.5px; }
.sm-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; }
.sm-tags li { font-size: 11.5px; font-weight: 650; padding: 3px 8px; border-radius: 999px; background: var(--chip); color: var(--ink); }
.sm-fits { border-top: 1px solid var(--line); padding-top: 10px; }
.sm-fits > span { display: block; font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.sm-fits ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.sm-fits li { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: baseline; font-size: 12.5px; color: var(--muted); }
.sm-fits li .tm { justify-self: start; }
.sm-fits .none { font-size: 12.5px; color: var(--muted); }
.sm-val { position: absolute; right: 16px; bottom: 14px; font-size: 11.5px; color: var(--muted); }
.sm-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.sm-grp { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 6px; }
.sm-grp h3 { margin: 0 0 6px; font-size: 16px; }
.sm-grp table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.sm-grp th { font-size: 11px; font-weight: 700; color: var(--muted); text-align: right; padding: 4px 4px 6px; }
.sm-grp th:nth-child(2) { text-align: left; }
.sm-grp td { padding: 7px 4px; border-top: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }
.sm-grp td.t { text-align: left; font-weight: 650; }
.sm-grp td.rk { width: 18px; text-align: left; color: var(--muted); }
.sm-grp td.p { font-weight: 800; }
.sm-grp tr.q td.rk { color: var(--brand); font-weight: 800; }
.sm-grp tr.q td:first-child { box-shadow: inset 3px 0 0 var(--brand); }
.sm-grp tr.sm-cut td { border-top: 1px dashed var(--muted); }
.sm-fx { list-style: none; margin: 14px 0 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.sm-fx li { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 14px; }
.sm-fx li:first-child { border-top: 0; }
.sm-fx .g { font-size: 11px; font-weight: 700; color: var(--muted); }
.sm-fx .m b { font-weight: 650; }
.sm-fx .m .v { color: var(--muted); margin: 0 6px; }
.sm-fx .t { text-align: right; font-size: 12.5px; color: var(--muted); }
.sm-fx .t small { display: block; }
.sm .il-lead li .n a { color: var(--ink); text-decoration: none; font-weight: 650; }
.sm .il-lead li .n a:hover { color: var(--brand2); }

/* results: one clean row a match; the row opens the scorecard, a name opens the player */
.sm-rows { display: grid; gap: 10px; margin-top: 14px; }
.sm-row { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 104px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.sm-row:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: 0 6px 18px rgba(0, 0, 0, .06); }
.sm-row .k { display: block; font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 7px; }
.sm-row .k small { font-weight: 600; }
.sm-row-main { padding: 13px 16px 12px; min-width: 0; }
.sm-row-off { grid-template-columns: minmax(0, 1fr); }
.sm-row-off .sm-row-main .r { color: var(--muted); }
.sm-row-main .t { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 2px; padding: 2px 0; font-size: 15px; color: var(--muted); }
.sm-row-main .t .n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-row-main .t .s { font-variant-numeric: tabular-nums; font-weight: 650; padding-left: 10px; }
.sm-row-main .t .s small { font-weight: 500; font-size: 12px; color: var(--muted); }
.sm-row-main .t.w { color: var(--ink); }
.sm-row-main .t.w .n, .sm-row-main .t.w .s { font-weight: 800; }
.sm-row-main .r { margin: 7px 0 0; font-size: 13px; color: var(--brand2); font-weight: 650; }
.sm-row-top { padding: 13px 16px 12px; border-left: 1px solid var(--line); min-width: 0; }
.sm-row-top ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sm-row-top li { display: grid; grid-template-columns: minmax(0, auto) auto 1fr; align-items: baseline; gap: 6px; font-size: 14px; }
.sm-row-top li .pn { position: relative; z-index: 2; color: var(--ink); font-weight: 650; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-row-top li .pn:hover { color: var(--brand2); text-decoration: underline; }
.sm-row-top li small { font-size: 11px; color: var(--muted); font-weight: 650; }
.sm-row-top li b { justify-self: end; font-variant-numeric: tabular-nums; font-weight: 800; color: var(--brand); }
.sm-row-top li:first-child .pn { font-weight: 800; }
.sm-row-go { position: static; display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--brand2); text-decoration: none; }
.sm-row-go::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 12px; }
.sm-row-go:focus-visible::after { outline: 2px solid var(--brand); outline-offset: 2px; }
.sm-row-go span::after { content: " ›"; }
.sm-grp td.t a, .sm-fx .m a { color: var(--ink); text-decoration: none; }
.sm-grp td.t a:hover, .sm-fx .m a:hover, .sm-pc .who a:hover { color: var(--brand2); text-decoration: underline; }
.sm-pc .who a { color: inherit; text-decoration: none; }
.sm-all { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--brand2); text-decoration: none; }
.sm-all::after { content: " ›"; }
.sm-all:hover { text-decoration: underline; }

/* the pages under /smat/ */
.sm-page { max-width: 980px; margin: 0 auto; }
.sm-back { margin: 4px 0 12px; text-transform: none; letter-spacing: 0; font-family: var(--body); font-size: 13px; }
.sm-back a { color: var(--brand2); }
.sm-page .mh { border-radius: 12px; padding: 18px 20px; }
.sm-page .mh .eyebrow { color: var(--muted); }
.sm-page .mh-team .tn a { color: inherit; text-decoration: none; }
.sm-page .mh-team .tn a:hover { text-decoration: underline; }
.sm-page .mh-team .sc small { font-size: 12px; font-weight: 500; color: var(--muted); }
.sm-page .mh-team:not(.won) { color: var(--muted); }
.sm-page .mh-team.won .sc { font-weight: 800; }
.sm-page .mh > .mh-line:not(.dim) { font-weight: 700; color: var(--brand2); }
.sm-ph { margin: 0 0 18px; }
.sm-ph h1 { margin: 6px 0 6px; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4.4vw, 40px); line-height: 1.05; }
.sm-ph h1 .tm { font-size: 13px; vertical-align: 6px; }
.sm-ph .eyebrow { color: var(--muted); }
.sm-ph .lede { margin: 6px 0 10px; font-size: 16px; }
.sm-role { margin: 0; color: var(--muted); font-size: 15px; }
.sm-role a { color: var(--ink); font-weight: 650; text-decoration: none; }
.sm-ph .sm-tags { margin-top: 10px; }
.sm-best { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 12px; margin: 0 0 22px; }
.sm-best .section-head { margin-bottom: 8px; }
.sm-best .section-head h2 { font-size: 18px; margin: 0; }
.sm-top3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sm-top3 li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 12px; border-radius: 10px; background: var(--bg, #f6f7f9); border: 1px solid var(--line); }
.sm-top3 li.first { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); background: color-mix(in srgb, var(--brand) 6%, var(--surface)); }
.sm-top3 .rk { font: 800 13px/1 var(--display); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); color: var(--ink); }
.sm-top3 li.first .rk { background: var(--brand); color: #fff; }
.sm-top3 .nm { display: block; font-size: 15px; line-height: 1.2; }
.sm-top3 .nm a { color: var(--ink); text-decoration: none; }
.sm-top3 .nm a:hover { color: var(--brand2); text-decoration: underline; }
.sm-top3 small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.sm-top3 .pt { font: 800 26px/1 var(--display); color: var(--brand); text-align: right; }
.sm-top3 .pt small { font: 600 10.5px/1 var(--body); margin-top: 3px; }
.sm-off { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.sm-off a { color: var(--ink); font-weight: 650; text-decoration: none; }
.sm-inn h2 { font-size: 20px; margin: 0; }
.sm-sub { margin: 16px 0 8px; font-size: 14px; color: var(--muted); font-weight: 700; }
.sm-card { width: 100%; border-collapse: collapse; font-size: 14px; }
.sm-card th { font-size: 11px; font-weight: 700; color: var(--muted); text-align: left; padding: 9px 10px 7px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sm-card th.num { text-align: right; }
.sm-card td { padding: 8px 10px; border-top: 1px solid var(--line); vertical-align: top; }
.sm-card tbody tr:first-child td { border-top: 0; }
.sm-card td.num { font-weight: 500; border-left: 0; }
.sm-card td.bg { font-weight: 800; }
.sm-card td.pts { font-weight: 800; color: var(--brand); }
.sm-card td.neg { color: #b42318; }
.sm-card td.pl { min-width: 150px; }
.sm-card td.pl a { color: var(--ink); font-weight: 650; text-decoration: none; }
.sm-card td.pl a:hover { color: var(--brand2); text-decoration: underline; }
.sm-card td.pl i { font-style: normal; font-weight: 800; color: var(--brand); margin-left: 1px; }
.sm-card td.pl small { display: block; white-space: normal; overflow: visible; text-overflow: clip; font-size: 12px; color: var(--muted); margin-top: 1px; }
.sm-card td.pl small .tm { margin-right: 4px; }
.sm-card td.rk { width: 26px; font: 600 13px/1.4 var(--body); color: var(--muted); font-variant-numeric: tabular-nums; }
.sm-card tr.ex td, .sm-card tr.tot td { background: color-mix(in srgb, var(--line) 30%, var(--surface)); }
.sm-card tr.tot td { font-weight: 800; }
.sm-card tr.tot td.pl { font-weight: 800; }
.sm-card tbody tr:hover td { background: color-mix(in srgb, var(--brand) 4%, var(--surface)); }
.sm-card th[data-k] { cursor: pointer; }
.sm-card th[data-k].on { color: var(--brand); }
.sm-card th[data-k].on::after { content: " ↓"; }
.sm-dnb { margin: 8px 2px 0; font-size: 13px; color: var(--muted); line-height: 1.55; }
.sm-dnb b { color: var(--ink); margin-right: 4px; }
.sm-dnb a { color: var(--ink); text-decoration: none; }
.sm-dnb a:hover { text-decoration: underline; }
.sm-seg { margin: 0 0 12px; }
.sm-seg button[aria-pressed="true"] { background: var(--brand); color: #fff; font-weight: 700; }
.sm-note { margin: 10px 2px 0; font-size: 12.5px; }
.sm-foot { margin-top: 26px; font-size: 12.5px; }
.sm-tiles.pl-tiles { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 0 0 22px; }
.sm-tiles .pl-tile { background: var(--surface); border: 1px solid var(--line); box-shadow: none; }
.sm-tiles .pl-tile span { display: block; margin-top: 6px; font-size: 12.5px; }
.sm-fits-page { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); }

@media (max-width: 760px) {
  .sm-row { grid-template-columns: minmax(0, 1fr); }
  .sm-row-top { border-left: 0; border-top: 1px solid var(--line); }
  .sm-row-go { border-left: 0; border-top: 1px solid var(--line); padding: 9px 0; }
  .sm-top3 { grid-template-columns: 1fr; }
  .sm-groups { grid-template-columns: 1fr; }
  .sm-fx li { grid-template-columns: 1fr auto; }
  .sm-fx li .g { grid-column: 1 / -1; }
}
/* a match: rating and points a ball under each of the best three, and the best batter and bowler */
.sm-top3 small.sm-rt { color: var(--ink); font-weight: 600; }
.sm-bxs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.sm-bx { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg, #f6f7f9); }
.sm-bx h3 { grid-column: 1 / -1; margin: 0 0 6px; font: 700 12px/1 var(--body); color: var(--muted); }
.sm-bx .nm { font-size: 15px; line-height: 1.2; grid-column: 1; }
.sm-bx .nm a { color: var(--ink); text-decoration: none; }
.sm-bx .nm a:hover { color: var(--brand2); text-decoration: underline; }
.sm-bx > small { grid-column: 1; font-size: 12px; color: var(--muted); margin-top: 3px; }
.sm-bx dl { grid-column: 2; grid-row: 2 / span 2; display: flex; gap: 14px; margin: 0; }
.sm-bx dt { font-size: 10.5px; color: var(--muted); }
.sm-bx dd { margin: 2px 0 0; font: 800 20px/1 var(--display); color: var(--brand); text-align: right; }
@media (max-width: 640px) { .sm-bxs { grid-template-columns: 1fr; } }
/* auction watch: what the player did best in this tournament, once, above the sides it could suit */
.sm-proof { border-top: 1px solid var(--line); padding: 10px 0; }
.sm-proof > span { display: block; font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.sm-proof ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sm-proof li b { display: block; font-size: 13.5px; color: var(--ink); font-weight: 650; }
.sm-proof li small { font-size: 11.5px; color: var(--muted); }
/* Auction watch as rows (18 Nov 2026) */
.sm-aw td { vertical-align: top; }
.sm-aw th.aw-s { cursor: pointer; user-select: none; white-space: nowrap; }
.sm-aw th.aw-s:hover, .sm-aw th.aw-s:focus-visible { color: var(--brand2); }
.sm-aw th.aw-s[aria-sort="descending"]::after { content: " \2193"; }
.sm-aw th.aw-s[aria-sort="ascending"]::after { content: " \2191"; }
.sm-aw td.rk { color: var(--muted); font-variant-numeric: tabular-nums; width: 1%; }
.sm-aw td.pl a { font-weight: 700; color: var(--ink); text-decoration: none; }
.sm-aw td.pl a:hover { color: var(--brand2); }
.sm-aw td.pl small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.sm-aw td.pl small a { font-weight: 500; color: inherit; }
.sm-aw td.pl .ln { display: none; }
.sm-aw td.fig { color: var(--muted); font-size: 13.5px; }
.sm-aw td.pts b { font-size: 16px; font-variant-numeric: tabular-nums; }
.sm-aw td.aw-ipl { white-space: nowrap; }
.sm-aw td.aw-ipl .tm { margin: 0 4px 4px 0; }
@media (max-width: 640px) { .sm-aw td.pl .ln { display: block; } .sm-aw td.aw-ipl { white-space: normal; } }
/* results: filters, and a fold for each matchday (the latest open) */
.sm-filt { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 14px 0 2px; }
.sm-filt label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; color: var(--muted); }
.sm-filt select { font: inherit; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; max-width: 260px; }
.sm-filt select:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.sm-filt-n { font-size: 13px; color: var(--muted); }
.sm-md { margin-top: 10px; border-top: 1px solid var(--line); }
.sm-md > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 2px 4px; }
.sm-md > summary::-webkit-details-marker { display: none; }
.sm-md > summary::before { content: ''; width: 7px; height: 7px; margin-right: 2px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); transition: transform .15s; align-self: center; }
.sm-md[open] > summary::before { transform: rotate(45deg); }
.sm-md > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.sm-md-t { font-weight: 800; font-size: 17px; color: var(--ink); }
.sm-md-d { font-size: 13px; color: var(--muted); }
.sm-md .sm-rows { margin-top: 8px; }
.sm-row[hidden], .sm-md[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .sm-md > summary::before { transition: none; } }

/* Auction watch: filters, a tap opens one reason a side (Vijay, 18 Nov 2026) */
.aw-filt { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 12px; }
.aw-filt button { font: inherit; font-size: 13px; font-weight: 650; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; cursor: pointer; line-height: 1.2; }
.aw-filt button:hover { color: var(--ink); border-color: var(--muted); }
.aw-filt button[aria-pressed="true"] { color: #fff; background: var(--brand); border-color: var(--brand); }
.aw-filt button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.sm-aw tr.aw-r { cursor: pointer; }
.sm-aw tr.aw-r:hover td { background: color-mix(in srgb, var(--brand) 4%, transparent); }
.sm-aw tr.aw-r:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.sm-aw tr.aw-r[aria-expanded="true"] td { border-bottom-color: transparent; }
.sm-aw .aw-tog { display: inline-block; width: 7px; height: 7px; margin: 0 2px 2px 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s ease; vertical-align: middle; }
.sm-aw tr.aw-r[aria-expanded="true"] .aw-tog { transform: rotate(-135deg); margin-bottom: -2px; }
.sm-aw tr.aw-d td { padding-top: 0; }
.aw-why { list-style: none; margin: 0 0 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); display: grid; gap: 7px; }
.aw-why li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink); }
.aw-why li .tm { flex: none; margin: 0; }
.aw-why-none { font-size: 13.5px; color: var(--muted); }
.aw-none { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.sm-aw td.rt { font-variant-numeric: tabular-nums; font-weight: 650; }
.aw-pg { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.aw-pg button { font: inherit; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; cursor: pointer; }
.aw-pg button:hover { color: var(--ink); border-color: var(--muted); }
.aw-pg button[aria-current="page"] { color: #fff; background: var(--brand); border-color: var(--brand); }
.aw-pg button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .sm-aw .aw-tog { transition: none; } }
