.mfv {
  --mfv-ink: #101010;
  --mfv-paper: #ffffff;
  --mfv-line: #d9d9d4;
  --mfv-soft: #f3f3ef;
  --mfv-accent: #c8182b;
  --mfv-success: #146c43;
  color: var(--mfv-ink);
  background: var(--mfv-paper);
  font-family: inherit;
  padding: clamp(42px, 7vw, 96px) max(20px, calc((100vw - 1240px) / 2));
}

.mfv *, .mfv *::before, .mfv *::after { box-sizing: border-box; }
.mfv-site-section-hidden { display: none !important; }
.mfv__intro { max-width: 760px; margin-bottom: 36px; }
.mfv__eyebrow { margin: 0 0 10px; color: var(--mfv-accent); font-size: 13px; font-weight: 800; letter-spacing: 0; }
.mfv__intro h2 { margin: 0 0 14px; font-size: clamp(34px, 4vw, 64px); line-height: 1.02; letter-spacing: 0; }
.mfv__intro p:not(.mfv__eyebrow) { margin: 0 0 18px; max-width: 680px; font-size: 17px; line-height: 1.6; }
.mfv__rules-button { border: 0; border-bottom: 1px solid currentColor; background: transparent; padding: 4px 0; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.mfv__status { border-left: 4px solid var(--mfv-accent); background: var(--mfv-soft); padding: 16px 18px; margin: 0 0 28px; font-weight: 700; }
.mfv__form { display: grid; gap: 40px; }
.mfv__fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.mfv__fieldset[disabled] { opacity: .48; }
.mfv__fieldset legend { display: block; width: 100%; margin: 0 0 18px; padding: 0 0 12px; border-bottom: 1px solid var(--mfv-line); font-size: 22px; font-weight: 800; letter-spacing: 0; }
.mfv__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 820px; }
.mfv__field { display: grid; gap: 7px; font-weight: 700; }
.mfv__field--wide { grid-column: 1 / -1; }
.mfv__field input, .mfv__search input { width: 100%; min-height: 48px; border: 1px solid #aaa; border-radius: 4px; background: #fff; color: #111; padding: 10px 12px; font: inherit; }
.mfv__field input:focus, .mfv__search input:focus { border-color: var(--mfv-ink); outline: 2px solid var(--mfv-ink); outline-offset: 2px; }
.mfv__hint { margin: 9px 0 0; color: #555; font-size: 13px; }
.mfv__trap { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px, 1px, 1px, 1px) !important; }
.mfv__search { display: block; max-width: 420px; margin-bottom: 18px; }
.mfv__teams { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mfv-team { position: relative; display: grid; grid-template-columns: 46px 1fr 20px; align-items: center; min-height: 76px; padding: 10px 12px; border: 1px solid var(--mfv-line); border-radius: 6px; background: #fff; cursor: pointer; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.mfv-team:hover { border-color: #777; transform: translateY(-1px); }
.mfv-team:has(input:focus-visible) { outline: 3px solid #111; outline-offset: 2px; }
.mfv-team:has(input:checked) { border-color: var(--mfv-ink); background: #ecece6; box-shadow: inset 0 0 0 1px var(--mfv-ink); }
.mfv-team[hidden] { display: none; }
.mfv-team input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mfv-team__flag { font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif; font-size: 34px; line-height: 1; }
.mfv-team__flag img { width: 42px; height: 28px; object-fit: cover; border: 1px solid var(--mfv-line); display: block; }
.mfv-team__copy { min-width: 0; display: grid; gap: 4px; }
.mfv-team__copy strong { overflow-wrap: anywhere; font-size: 14px; line-height: 1.15; }
.mfv-team__copy small { color: #656565; font-size: 11px; }
.mfv-team__check { opacity: 0; color: var(--mfv-success); font-size: 20px; font-weight: 900; }
.mfv-team:has(input:checked) .mfv-team__check { opacity: 1; }
.mfv__consents { max-width: 920px; }
.mfv-check { display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 10px; margin: 0 0 14px; font-size: 14px; line-height: 1.5; }
.mfv-check input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--mfv-ink); }
.mfv-check button { border: 0; border-bottom: 1px solid currentColor; background: transparent; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.mfv-check a { color: inherit; }
.mfv__submit { min-height: 52px; margin-top: 12px; border: 1px solid var(--mfv-ink); border-radius: 4px; background: var(--mfv-ink); color: #fff; padding: 12px 22px; font: inherit; font-weight: 800; cursor: pointer; }
.mfv__submit:hover { background: var(--mfv-accent); border-color: var(--mfv-accent); }
.mfv__submit:disabled { cursor: wait; opacity: .65; }
.mfv__message { min-height: 24px; margin-top: 12px; font-weight: 700; }
.mfv__message.is-error { color: #a11020; }
.mfv__message.is-success { color: var(--mfv-success); }
.mfv-dialog { width: min(880px, calc(100vw - 30px)); max-height: 86vh; border: 0; border-radius: 6px; padding: 0; color: var(--mfv-ink); background: #fff; box-shadow: 0 22px 80px rgba(0,0,0,.28); }
.mfv-dialog::backdrop { background: rgba(0,0,0,.7); }
.mfv-dialog__bar { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--mfv-line); background: #fff; padding: 18px 22px; }
.mfv-dialog__bar h2 { margin: 0; font-size: 22px; }
.mfv-dialog__close { width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid var(--mfv-line); border-radius: 50%; background: #fff; color: #111; font-size: 26px; line-height: 1; cursor: pointer; }
.mfv-rules-copy { padding: 22px; font-size: 14px; line-height: 1.65; }
.mfv-rules-copy h3 { font-size: 24px; margin: 0 0 12px; }
.mfv-rules-copy ol { padding-left: 22px; }
.mfv-rules-copy li { margin-bottom: 12px; }
.mfv-draft-notice { border-left: 4px solid var(--mfv-accent); background: #fff3f4; padding: 12px 14px; }

.mfv-home {
  padding-block: clamp(18px, 3vw, 34px);
}
.mfv-home__hero {
  min-height: 264px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
  align-items: stretch;
  overflow: hidden;
  background: #102131;
  color: #fff;
}
.mfv-home__copy {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 30px clamp(24px, 4vw, 58px);
}
.mfv-home__hero .mfv__eyebrow {
  color: #ff394c !important;
}
.mfv-home__hero h2 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}
.mfv-home__hero p:not(.mfv__eyebrow) {
  max-width: 700px;
  margin: 0;
  color: #fff !important;
  font-size: 16px;
  line-height: 1.35;
}
.mfv-home .mfv-home__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 20px;
  border: 2px solid #111 !important;
  border-radius: 4px;
  background: #fff !important;
  color: #c8182b !important;
  padding: 10px 18px;
  font-weight: 900 !important;
  text-decoration: none;
  white-space: nowrap;
}
.mfv-home .mfv-home__more:hover { background: var(--mfv-accent) !important; border-color: #111 !important; color: #fff !important; }
.mfv-home .mfv-home__more span { color: #111; }
.mfv-home .mfv-home__more strong { color: #c8182b; font-weight: 900; }
.mfv-home .mfv-home__more:hover span,
.mfv-home .mfv-home__more:hover strong { color: #fff; }
.mfv-home__visual {
  min-width: 0;
  overflow: hidden;
  border-left: 6px solid var(--mfv-accent);
}
.mfv-home .mfv-home__visual img {
  width: 100%;
  height: 264px !important;
  min-height: 264px;
  max-height: 264px;
  display: block;
  object-fit: cover;
  object-position: center 8%;
}
.mfv-strip {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 8px;
  min-height: 116px;
  padding-block: 18px;
}
.mfv-strip__track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.mfv-strip__track::-webkit-scrollbar { display: none; }
.mfv-strip__item {
  flex: 0 0 calc((100% - 90px) / 10);
  min-width: 96px;
  max-width: 138px;
  height: 78px;
  display: grid;
  grid-template-rows: 30px 1fr;
  justify-items: center;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--mfv-line);
  border-radius: 5px;
  background: #fff;
  color: var(--mfv-ink);
  padding: 9px 8px;
  text-align: center;
  text-decoration: none;
}
.mfv-strip__item:hover { border-color: var(--mfv-ink); }
.mfv-strip__item img {
  width: 42px;
  height: 28px;
  object-fit: cover;
  border: 1px solid var(--mfv-line);
}
.mfv-strip__item span {
  max-width: 100%;
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mfv-strip__arrow {
  width: 40px;
  height: 40px;
  border: 1px solid var(--mfv-line);
  border-radius: 50%;
  background: #fff;
  color: var(--mfv-ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.mfv-round {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .42fr) minmax(160px, .28fr);
  gap: 16px;
  align-items: stretch;
  border: 1px solid var(--mfv-line);
  background: var(--mfv-soft);
  padding: 16px;
  margin: 0 0 28px;
}
.mfv-round h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 42px); line-height: 1.05; }
.mfv-round p { margin: 0; line-height: 1.45; }
.mfv-round__prize,
.mfv-round__clock {
  display: grid;
  align-content: center;
  gap: 5px;
  border-left: 1px solid var(--mfv-line);
  padding-left: 16px;
}
.mfv-round__prize span { font-size: 30px; }
.mfv-round__prize small,
.mfv-round__clock small { color: #555; font-size: 12px; line-height: 1.3; }
.mfv-round__clock strong { font-size: 24px; line-height: 1; }

@media (max-width: 980px) {
  .mfv__teams { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mfv-strip__item { flex-basis: calc((100% - 40px) / 5); }
  .mfv-round { grid-template-columns: 1fr; }
  .mfv-round__prize, .mfv-round__clock { border-left: 0; border-top: 1px solid var(--mfv-line); padding: 12px 0 0; }
}

@media (max-width: 700px) {
  .mfv { padding-inline: 16px; }
  .mfv-home { padding-block: 14px; }
  .mfv-home__hero { grid-template-columns: 1fr; min-height: 0; }
  .mfv-home__copy { padding: 22px 20px 24px; }
  .mfv-home__visual { order: -1; min-height: 178px; border-left: 0; border-bottom: 5px solid var(--mfv-accent); }
  .mfv-home .mfv-home__visual img { height: 178px !important; min-height: 178px; max-height: 178px; object-position: center 7%; }
  .mfv-home__hero h2 { font-size: 34px; }
  .mfv-home__more { width: auto; }
  .mfv-strip { grid-template-columns: 34px minmax(0, 1fr) 34px; min-height: 108px; gap: 6px; }
  .mfv-strip__arrow { width: 34px; height: 34px; }
  .mfv-strip__item { flex-basis: calc((100% - 18px) / 3); min-width: 88px; height: 72px; }
  .mfv__intro h2 { font-size: 38px; }
  .mfv__fields { grid-template-columns: 1fr; }
  .mfv__field--wide { grid-column: auto; }
  .mfv__teams { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mfv-team { grid-template-columns: 38px 1fr 16px; min-height: 70px; padding: 9px; }
  .mfv-team__flag { font-size: 29px; }
  .mfv-dialog__bar, .mfv-rules-copy { padding: 16px; }
}

@media (max-width: 380px) {
  .mfv__teams { grid-template-columns: 1fr; }
  .mfv-strip__item { flex-basis: calc((100% - 9px) / 2); }
}

@media (prefers-reduced-motion: reduce) {
  .mfv-team { transition: none; }
}
