:root[data-mj-theme="light"] {
  color-scheme: light;
  --mj-bg: #f7f7f8;
  --mj-nav: #fff;
  --mj-card: #fff;
  --mj-raised: #eceef2;
  --mj-line: #c7cfd9;
  --mj-accent: #a73b11;
  --mj-ink: #fff;
  --mj-text: #17243b;
  --mj-muted: #4c5a6e;
}
.matchjour .mj-header nav { min-width: 0; }
.matchjour .mj-header .mj-bar { column-gap: 20px; }
.matchjour .mj-footer .mj-bar { flex-wrap: wrap; }
.mj-appearance { margin: 0; color: var(--mj-muted); display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; }
.mj-appearance select { max-width: 136px; min-height: 44px; border: 1px solid var(--mj-line); border-radius: 8px; padding: 4px 9px; font: inherit; }
.mj-appearance[hidden] { display: none; }
.matchjour .fixture-vs,
.matchjour .score strong,
.matchjour .mj-vote-results,
.matchjour .mj-tv-kickoff { font-variant-numeric: tabular-nums; }
.matchjour .fixture-vs { min-inline-size: 4ch; }
:root[data-mj-theme="light"] .matchjour .program-intro { background: var(--mj-nav); }
:root[data-mj-theme="light"] .matchjour .standings-current td { background: #eef1f5; }
:root[data-mj-theme="light"] .matchjour .match-detail-main .warning { background: #fff1e8; }
:root[data-mj-theme="light"] .matchjour .match-detail-main .goal-minute { color: #286244; }
:root[data-mj-theme="light"] .matchjour .fixture-card .fixture-team-logo,
:root[data-mj-theme="light"] .matchjour .match-detail-main .scoreboard > div > img { background: #edf1f6; }
:root[data-mj-theme="light"] .matchjour .match-detail-main .scoreboard,
:root[data-mj-theme="light"] .matchjour .fixture-card { background-color: var(--mj-card); }

.mj-product { padding-block: clamp(24px, 5vw, 56px); min-height: 65vh; }
.mj-product h1 { letter-spacing: -.045em; line-height: 1.1; margin: 0 0 16px; font-size: clamp(2rem, 5vw, 3.5rem); }
.mj-product h2 { margin: 0 0 14px; }
.mj-product p { max-width: 68ch; line-height: 1.6; color: var(--mj-muted); }
.mj-product a:not(.button) { color: var(--mj-accent); text-underline-offset: .2em; }
.mj-product-panel {
  max-width: 720px;
  margin-block: 16px;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--mj-line);
  border-radius: 12px;
  background: var(--mj-card);
}
.mj-product-panel > :last-child { margin-bottom: 0; }
.mj-account-form { display: grid; justify-items: start; gap: 14px; }
.mj-account-form label:not(.mj-radio) { display: grid; gap: 6px; width: min(100%, 420px); }
.mj-account-form input:not([type="radio"]) {
  min-height: 46px;
  width: 100%;
  box-sizing: border-box;
  padding-inline: 10px;
  font: inherit;
  border: 1px solid var(--mj-line);
  border-radius: 8px;
}
.mj-account-form fieldset { border: 0; padding: 0; margin: 0; }
.mj-account-form legend { margin-block-end: 8px; }
.mj-radio { display: flex; align-items: center; min-height: 44px; gap: 9px; cursor: pointer; accent-color: var(--mj-accent); }
.mj-product .button { min-height: 44px; }
.mj-product .mj-product-error { border-inline-start: 3px solid var(--mj-accent); padding-inline-start: 12px; color: var(--mj-text); }
.mj-vote-results div { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-block: 10px; border-bottom: 1px solid var(--mj-line); }
.mj-vote-results dd { display: flex; gap: 8px; align-items: center; white-space: nowrap; margin: 0; }
.mj-vote-results meter { width: clamp(48px, 18vw, 132px); }
.mj-product .mj-results-note { color: var(--mj-muted); }

@media (max-width: 850px) {
  .matchjour .mj-header .mj-bar { display: block; }
  .matchjour .mj-header nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 3px;
    max-width: 100%;
    margin-block-start: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .matchjour .mj-header nav a { flex: 0 0 auto; padding-inline: 9px; }
  .matchjour .mj-header nav a[href="/blog/"] { position: static; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .matchjour *, .matchjour *::before, .matchjour *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

.mj-program-layout { display: grid; min-width: 0; gap: clamp(14px, 1.5vw, 20px); }
.mj-program-results { min-width: 0; }
.mj-program-side {
  padding: 16px;
  border: 1px solid var(--mj-line);
  border-radius: 12px;
  background: var(--mj-card);
}
.mj-program-side h2 { font-size: 1rem; margin: 0 0 10px; }
.mj-program-more h2:not(:first-child) { margin-top: 20px; }
.mj-program-side p { color: var(--mj-muted); font-size: .875rem; line-height: 1.45; margin-block: 0 6px; }
.mj-program-side a { display: block; color: var(--mj-accent); padding-block: 10px; min-block-size: 44px; box-sizing: border-box; text-decoration: none; }
.mj-program-side nav > a { border-bottom: 1px solid var(--mj-line); }
.mj-program-side nav > a:last-child { border-bottom: 0; }
.mj-program-side a:hover { text-decoration: underline; }
.mj-program-side a[aria-current="page"] { color: var(--mj-text); font-weight: 700; }
.mj-program-results .fixture-heading { margin-block-start: 12px; }
@media (min-width: 1120px) {
  .mj-program-layout { grid-template-columns: minmax(154px, .83fr) minmax(0, 3fr) minmax(168px, 1fr); align-items: start; }
  .matchjour .mj-program-results .fixture-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1119px) {
  .mj-program-layout { grid-template-columns: minmax(0, 1fr); }
  .mj-program-side.mj-competitions-quick { display: none; }
}
.mj-follows-list { padding: 0; list-style: none; }
.mj-follows-list li { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 12px; }
.matchjour .match-detail-main .mj-match-history { margin-block: 18px; padding: var(--mj-space); }
.matchjour .match-detail-main .mj-match-history p { color: var(--mj-muted); }
.fixture-card .mj-tv-card-more { position: relative; z-index: 2; align-self: start; color: var(--mj-muted); font-size: .85rem; }
.fixture-card .mj-tv-card-more > summary { display: list-item; width: fit-content; padding-block: 8px; cursor: pointer; color: var(--mj-accent); }
.fixture-card .mj-tv-card-more a { color: var(--mj-accent); }
.fixture-card .mj-tv-card-more ul { list-style: none; margin: 8px 0; padding: 0; }
.fixture-card .mj-tv-card-more li > :not(:last-child) { margin-inline-end: 8px; }
.fixture-card .mj-tv-card-more .mj-tv-line { display: block; }
.matchjour .fixture-card.mj-filtered-out { display: none; }
.program-favorites-toggle {
  min-height: 44px;
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--mj-muted);
  background: var(--mj-raised);
  border: 1px solid var(--mj-line);
  font: inherit;
  cursor: pointer;
}
.program-favorites-toggle[aria-pressed="true"] { color: var(--mj-ink); background: var(--mj-accent); }
[data-program-favorites-empty] { padding: 16px; background: var(--mj-card); border: 1px solid var(--mj-line); border-radius: 12px; }
