[data-fld-theme="client-04"].fld-dashboard,
[data-fld-theme="client-04"].fld-featured {
  --fld-accent:#6B0DBC; --fld-accent-hover:#510990; --fld-orange:#6B0DBC;
  --fld-border:#e2d7ec; --fld-surface-secondary:#f4eafb; --fld-muted:#594c65;
}
.ko-full[data-fld-theme="client-04"] .fld-dashboard .fld-table caption,
.ko-full[data-fld-theme="client-04"] .fld-table th {
  background:linear-gradient(115deg,#510990,#6B0DBC); color:#fff; border-color:#7945a1;
}
.ko-full[data-fld-theme="client-04"] .fld-heading time {color:#510990;background:#f7f1fb;border-color:#d8c5e8}

.ko-full[data-fld-theme="client-04"] .fld-dashboard .fld-table-scroll {max-width:100%;overflow-x:auto;border-color:#dfd2e9}
.ko-full[data-fld-theme="client-04"] .fld-team-favorite {color:#5d159b}
.ko-widget[data-fld-theme="client-04"] {
  --ko-purple:#6B0DBC; color:#251732; background:#fff; border:1px solid #dfd2e9;
  border-radius:12px; max-width:100%; min-width:0; overflow:hidden; font:inherit; line-height:1.45;
}
.ko-widget * {box-sizing:border-box}
.ko-widget .ko-tabs {display:flex;gap:4px;padding:6px;background:linear-gradient(110deg,#49077e,#6B0DBC)}
.ko-widget button[role="tab"] {flex:1;border:0;border-radius:7px;padding:9px 4px;background:transparent;color:#fff;font:inherit;font-weight:600;cursor:pointer}
.ko-widget button[aria-selected="true"] {background:#fff;color:#510990}
.ko-widget :focus-visible {outline:2px solid #af69e3;outline-offset:-2px}
.ko-widget .ko-scroll {overflow:auto;max-width:100%;overscroll-behavior-x:contain}
.ko-widget table {width:100%;border:0;border-collapse:collapse;margin:0;font-size:.875rem;font-variant-numeric:tabular-nums}
.ko-widget th,.ko-widget td {margin:0;border:0;border-bottom:1px solid #eee7f2;padding:8px 7px;text-align:start;vertical-align:middle;background:#fff;color:#281736}
.ko-widget thead th {white-space:nowrap;color:#5a297d;background:#f6effa;font-size:.79rem}
.ko-widget .ko-league th {background:#faf7fc;color:#6b368e;font-size:.8rem;border-inline-start:3px solid var(--ko-purple)}
.ko-widget button[data-ko-compare],.ko-full button[data-ko-compare] {
  display:block;width:100%;margin:0;padding:0;border:0;background:none;color:inherit;
  font:inherit;text-align:inherit;cursor:pointer;box-shadow:none
}
.ko-widget button[data-ko-compare]:hover,.ko-full button[data-ko-compare]:hover {color:#6B0DBC;text-decoration:underline}
.ko-widget .ko-team {display:inline-flex;gap:6px;align-items:center;overflow-wrap:anywhere}
:is(.ko-widget,.ko-odds-dialog) .fld-team-crest {position:relative;display:inline-grid;place-items:center;flex:0 0 24px;width:24px;height:24px;overflow:hidden;border-radius:50%;background:#efe4f7;color:#682d93;font-size:12px;font-weight:700}
:is(.ko-widget,.ko-odds-dialog) .fld-team-crest img {position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:white}
:is(.ko-widget,.ko-odds-dialog) img[hidden] {display:none}
.ko-widget .ko-state,.ko-widget .ko-quote td {display:block;color:#652498;font-size:.72rem;font-weight:bold}
.ko-widget .ko-quote td {display:table-cell;padding-block:2px}
.ko-widget .ko-up,.ko-full .fld-movement-up {color:#087647}
.ko-widget .ko-down,.ko-full .fld-movement-down {color:#b42932}
.ko-widget .ko-all {display:block;padding:10px 16px;text-align:center;background:#f4eafa;color:#53118a;text-decoration:none;font-weight:bold}
.ko-widget .ko-all:hover {background:#ead8f6}
.ko-widget .ko-message,.ko-widget .ko-feedback:not(:empty) {display:block;padding:12px 14px;margin:0;color:#65546e}
.ko-widget[data-ko="odds"] table {min-width:495px}
.ko-widget[data-ko="scores"] table {table-layout:fixed;font-size:.82rem}
.ko-widget[data-ko="scores"] th {background:#6B0DBC;color:white;white-space:normal}
.ko-widget[data-ko="scores"] :is(td,th) {padding:7px 4px}
.ko-widget[data-ko="scores"] :is(td,th):is(:first-child,:nth-child(3)) {width:16%;text-align:center}
.ko-widget[data-ko="scores"] strong {color:#56118f}
.ko-widget[data-ko="scores"] .ko-team {display:flex;gap:3px;flex-wrap:wrap}
@media(max-width:650px) {
  .ko-widget th,.ko-widget td {padding:6px 4px}
}


html:has(dialog.ko-odds-dialog[open]),body:has(dialog.ko-odds-dialog[open]) {overflow:hidden}
dialog.ko-odds-dialog {
  position:fixed;inset:0;margin:auto;padding:0;width:min(1160px,calc(100% - 32px));max-width:none;
  max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:hidden;border:1px solid #d8cce2;border-radius:14px;
  background:white;color:#25182f;box-shadow:0 20px 75px #25132e40;font:1rem/1.5 "Leelawadee UI",Tahoma,sans-serif;
}
dialog.ko-odds-dialog[open] {display:flex;flex-direction:column}
.ko-odds-dialog::backdrop {background:rgb(25 18 34 / 60%)}
.ko-odds-dialog >header {position:relative;flex:none;background:linear-gradient(105deg,#490e80,#6B0DBC 70%,#7825b4);color:#fff;padding:18px 62px 16px 22px}
.ko-odds-dialog header h2 {margin:0;color:inherit;font-weight:700;font-family:inherit;font-size:1.3rem;line-height:1.4}
.ko-odds-dialog header .ko-team {display:inline-flex;gap:6px;align-items:center;min-width:0;overflow-wrap:anywhere}
.ko-odds-dialog header p {display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;margin:3px 0 0;font-size:.95rem;color:#f6eafd;overflow-wrap:anywhere}
.ko-odds-dialog header button {position:absolute;inset:12px 12px auto auto;width:40px;height:40px;padding:0;
  border:1px solid #ffffff70;border-radius:8px;background:transparent;color:white;font:400 26px/1 sans-serif;cursor:pointer}
.ko-odds-dialog header button:hover {background:#ffffff22}
.ko-odds-dialog :focus-visible {outline:2px solid #a777dc;outline-offset:-3px}
.ko-odds-dialog header button:focus-visible {outline-color:white}
.ko-odds-dialog .ko-comparison {overflow:auto;overscroll-behavior:contain;min-height:0;min-width:0;scrollbar-width:thin}
.ko-odds-dialog .ko-comparison > p {padding:28px;text-align:center;color:#574861;margin:0}
.ko-odds-dialog table {table-layout:fixed;width:100%;min-width:780px;border-collapse:separate;border-spacing:0;
  margin:0;font-size:.94rem;font-variant-numeric:tabular-nums}
.ko-odds-dialog th,.ko-odds-dialog td {box-sizing:border-box;border:0;border-right:1px solid #e3dee8;border-bottom:1px solid #e3dee8;
  padding:9px 5px;text-align:center;vertical-align:middle;line-height:1.4}
.ko-odds-dialog thead {position:sticky;top:0;z-index:2}
.ko-odds-dialog thead th {color:#441b62;background:#eee7f5;font-weight:650}
.ko-odds-dialog thead tr:nth-child(2) th {background:#f7f4fa;font-size:.87rem;white-space:nowrap}
.ko-odds-dialog thead th:first-child[rowspan] {width:15%}
.ko-odds-dialog thead th:nth-child(2)[rowspan] {width:7%}
.ko-odds-dialog tbody tr {background:#fff}
.ko-odds-dialog tbody tr:nth-child(even) {background:#f5f5f7}
.ko-odds-dialog tbody th,.ko-odds-dialog tbody td {background:inherit;color:#302438}
.ko-odds-dialog tbody th[scope=rowgroup] {text-align:start;padding-inline:12px;overflow-wrap:anywhere;background:#faf8fc;font-weight:650}
.ko-odds-dialog tbody th[scope=row] {font-weight:500}
.ko-odds-dialog .ko-rise {color:#127346;font-size:.73em}
.ko-odds-dialog .ko-fall {color:#b42d3a;font-size:.73em}
@media(max-width:650px) {
  dialog.ko-odds-dialog {width:calc(100% - 16px);max-height:calc(100dvh - 24px);border-radius:10px}
  .ko-odds-dialog >header {padding:14px 60px 14px 14px}
  .ko-odds-dialog table {font-size:.875rem}
}

/* The local asset remains available while a team image is missing or hidden after an error. */
:is([data-fld-theme="client-04"],.ko-odds-dialog) .fld-team-crest {
  background:transparent url("football.svg") center / contain no-repeat;
  border:0;
}
:is([data-fld-theme="client-04"],.ko-odds-dialog) .fld-team-crest:has(>img:not([hidden])) {background-image:none}
:is([data-fld-theme="client-04"],.ko-odds-dialog) .fld-team-crest > img[hidden] {display:none}

.fld-dashboard[data-fld-theme="client-04"] .fld-team-crest {display:inline-block;position:relative;margin-inline-end:4px;width:22px;height:22px;box-sizing:border-box;flex:none;vertical-align:middle}

.fld-dashboard[data-fld-theme="client-04"] .fld-team-crest > img {position:absolute;inset:0;width:100%;height:100%;object-fit:contain;margin:0}
