.wnfx-mtr {
  --mtr-red: #e31825;
  --mtr-orange: #f5820c;
  --mtr-ink: #10141b;
  --mtr-muted: #68717d;
  --mtr-line: #e8ebef;
  --mtr-soft: #f5f6f8;
  color: var(--mtr-ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}
.wnfx-mtr * { box-sizing: border-box; }
.wnfx-mtr h2,
.wnfx-mtr h3,
.wnfx-mtr h4 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}
.wnfx-mtr a { color: inherit; }
.wnfx-mtr img { max-width: 100%; }
.wnfx-mtr-bar {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: end;
  background: #0d121a;
  color: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  margin: 8px 0 22px;
}
.wnfx-mtr-eyebrow {
  color: var(--mtr-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.wnfx-mtr-bar h2 { font-size: clamp(32px, 4vw, 46px); line-height: 0.95; }
.wnfx-mtr-note { color: #c5ced8; font-size: 13px; margin: 8px 0 0; max-width: 62ch; }
.wnfx-mtr-form-error { color: #ffb4b8; font-size: 13px; font-weight: 700; min-height: 1em; margin: 8px 0 0; }
.wnfx-mtr-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; justify-content: flex-end; }
.wnfx-mtr-form label { display: grid; gap: 6px; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #d5dbe3; }
.wnfx-mtr-form input,
.wnfx-mtr-form select {
  background: #171d27;
  color: #fff;
  border: 1px solid #343c49;
  border-radius: 6px;
  padding: 10px 12px;
  min-width: 120px;
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 600;
}
.wnfx-mtr-btn {
  border: 0;
  border-radius: 6px;
  background: var(--mtr-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 14px;
  cursor: pointer;
}
.wnfx-mtr-btn:hover { background: #ff9524; }
.wnfx-mtr-btn-ghost { background: transparent; border: 1px solid #3c4656; }
.wnfx-mtr-btn-ghost:hover { background: #171d27; }
.wnfx-mtr-block { margin: 0 0 28px; }
.wnfx-mtr-soft { background: var(--mtr-soft); border-radius: 14px; padding: 18px; }
.wnfx-mtr-dark { background: #0d121a; color: #fff; border-radius: 14px; padding: 18px; }
.wnfx-mtr-dark .wnfx-mtr-intro,
.wnfx-mtr-dark .wnfx-mtr-empty,
.wnfx-mtr-dark .wnfx-mtr-cal p { color: #c5ced8; }
.wnfx-mtr-head { margin-bottom: 14px; }
.wnfx-mtr-head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 0.95; }
.wnfx-mtr-intro { color: var(--mtr-muted); font-size: 14px; margin: 8px 0 0; max-width: 70ch; }
.wnfx-mtr-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.wnfx-mtr-chips button {
  border: 1px solid var(--mtr-line);
  background: #fff;
  color: var(--mtr-ink);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.wnfx-mtr-dark .wnfx-mtr-chips button { background: #171d27; color: #fff; border-color: #343c49; }
.wnfx-mtr-chips button.is-on { background: var(--mtr-red); border-color: var(--mtr-red); color: #fff; }
.wnfx-mtr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wnfx-mtr-card,
.wnfx-mtr-story {
  background: #fff;
  color: var(--mtr-ink);
  border: 1px solid var(--mtr-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
  min-width: 0;
}
.wnfx-mtr-media { position: relative; aspect-ratio: 16 / 9; background: #17202b; overflow: hidden; }
.wnfx-mtr-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wnfx-mtr-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: #fff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(160deg, #243044, #101820 60%, #8d1420);
}
.wnfx-mtr-card-copy,
.wnfx-mtr-story-copy { padding: 14px 16px 16px; }
.wnfx-mtr-tag {
  color: var(--mtr-red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.wnfx-mtr-card h3,
.wnfx-mtr-story h3,
.wnfx-mtr-cal h3 {
  font-size: 24px;
  line-height: 1.05;
  margin: 0 0 8px;
}
.wnfx-mtr-card h3 a,
.wnfx-mtr-story h3 a { text-decoration: none; }
.wnfx-mtr-card h3 a:hover,
.wnfx-mtr-story h3 a:hover { color: var(--mtr-red); }
.wnfx-mtr-card p,
.wnfx-mtr-story p { margin: 0 0 8px; color: var(--mtr-muted); font-size: 14px; }
.wnfx-mtr-card h3,
.wnfx-mtr-story h3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wnfx-mtr-meta { font-size: 13px; font-weight: 700; color: #4d5662; }
.wnfx-mtr-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  color: #87909b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.wnfx-mtr-foot a,
.wnfx-mtr-tracks a,
.wnfx-mtr-cal a { color: var(--mtr-ink); text-decoration: none; font-weight: 800; }
.wnfx-mtr-foot a:hover,
.wnfx-mtr-tracks a:hover,
.wnfx-mtr-cal a:hover { color: var(--mtr-red); }
.wnfx-mtr-source { font-size: 11px; color: #8b939e; margin: 8px 0 0; }
.wnfx-mtr-subhead { margin: 22px 0 10px; }
.wnfx-mtr-subhead h3,
.wnfx-mtr-split h3,
.wnfx-mtr-sub { font-size: 28px; }
.wnfx-mtr-sub { margin-top: 18px; }
.wnfx-mtr-tracks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wnfx-mtr-tracks li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--mtr-line);
  border-radius: 10px;
  padding: 12px 14px;
}
.wnfx-mtr-tracks strong { display: block; font-size: 16px; }
.wnfx-mtr-tracks span,
.wnfx-mtr-tracks em { display: block; color: var(--mtr-muted); font-style: normal; font-size: 12px; }
.wnfx-mtr-tracks b { color: var(--mtr-red); font-size: 13px; }
.wnfx-mtr-news { display: grid; gap: 14px; }
.wnfx-mtr-story { display: grid; grid-template-columns: 240px 1fr; }
.wnfx-mtr-story .wnfx-mtr-media { aspect-ratio: auto; min-height: 160px; height: 100%; }
.wnfx-mtr-cal { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wnfx-mtr-cal li {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 14px;
  align-items: center;
  background: #fff;
  color: var(--mtr-ink);
  border: 1px solid var(--mtr-line);
  border-radius: 10px;
  padding: 12px;
}
.wnfx-mtr-cal time {
  display: grid;
  justify-items: center;
  background: var(--mtr-red);
  color: #fff;
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
}
.wnfx-mtr-cal time b { font-family: "Barlow Condensed", Impact, sans-serif; font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; }
.wnfx-mtr-cal time span { font-size: 11px; font-weight: 700; }
.wnfx-mtr-cal-side { display: grid; justify-items: end; gap: 6px; font-size: 12px; font-weight: 800; }
.wnfx-mtr-cal-side b { color: var(--mtr-red); }
.wnfx-mtr-split { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 18px; align-items: start; }
.wnfx-mtr-cal-dark li { background: #171d27; color: #fff; border-color: #2c3441; }
.wnfx-mtr-cal-dark h3,
.wnfx-mtr-cal-dark a { color: #fff; }
.wnfx-mtr-tabs { display: flex; gap: 8px; margin: 10px 0; }
.wnfx-mtr-tabs button {
  border: 1px solid #3c4656;
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  font-weight: 800;
  font-size: 12px;
}
.wnfx-mtr-tabs button.is-on { background: var(--mtr-orange); border-color: var(--mtr-orange); }
.wnfx-mtr-standings { overflow-x: auto; }
.wnfx-mtr-standings table { width: 100%; border-collapse: collapse; font-size: 14px; }
.wnfx-mtr-standings th,
.wnfx-mtr-standings td { text-align: left; padding: 8px 6px; border-bottom: 1px solid #2c3441; }
.wnfx-mtr-standings th { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #9aa6b4; }
.wnfx-mtr-result { margin-top: 12px; background: #171d27; border-radius: 10px; padding: 12px; }
.wnfx-mtr-result h4 { font-size: 22px; margin-bottom: 8px; }
.wnfx-mtr-result ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.wnfx-mtr-result li span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--mtr-red);
  font-size: 12px;
  font-weight: 800;
}
.wnfx-mtr-attrib { color: #9aa6b4; font-size: 12px; margin: 14px 0 0; }
.wnfx-mtr-empty { color: var(--mtr-muted); background: rgba(255,255,255,0.04); border: 1px dashed var(--mtr-line); border-radius: 10px; padding: 14px; }
.wnfx-mtr.is-refreshing { opacity: 0.72; }
@media (max-width: 900px) {
  .wnfx-mtr-bar,
  .wnfx-mtr-split,
  .wnfx-mtr-story,
  .wnfx-mtr-grid { grid-template-columns: 1fr 1fr; }
  .wnfx-mtr-bar,
  .wnfx-mtr-split,
  .wnfx-mtr-story { grid-template-columns: 1fr; }
  .wnfx-mtr-form { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .wnfx-mtr-grid,
  .wnfx-mtr-cal li,
  .wnfx-mtr-tracks li { grid-template-columns: 1fr; }
  .wnfx-mtr-cal-side,
  .wnfx-mtr-tracks b { justify-items: start; }
  .wnfx-mtr-bar { padding: 16px; }
}
