body.scanner-ui :where(#root) .scanner-matchToolbarGrid .scanner-matchToolbarGroup--metrics {
  grid-column: 1 / -1;
  width: 100%;
}

body.scanner-ui :where(#root) .scanner-matchToolbarGroup--mobileDate {
  display: none;
}

body.scanner-ui :where(#root) .scanner-matchCard__cutStamp {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  gap: 6px;
  margin: 0 0 4px;
  padding: 4px 9px;
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #e5f2ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

body.scanner-ui :where(#root) .scanner-matchCard__cutStampLabel {
  color: rgba(147, 197, 253, 0.92);
  font-weight: 800;
}

body.scanner-ui :where(#root) .scanner-matchCard__cutStampValue {
  color: #e5f2ff;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

body.scanner-ui :where(#root) .scanner-matchCard__strategyCandidate {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  gap: 6px;
  margin: 0 0 6px;
  padding: 5px 10px;
  border: 1px solid rgba(251, 191, 36, 0.34);
  border-radius: 999px;
  background: rgba(120, 53, 15, 0.18);
  color: #fde68a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

body.scanner-ui :where(#root) .scanner-matchCard__strategyCandidateLabel {
  color: #fbbf24;
}

body.scanner-ui :where(#root) .scanner-matchCard__strategyCandidateText {
  color: rgba(254, 243, 199, 0.92);
}

body.scanner-ui :where(#root) .scanner-matchCard__cutControl {
  display: block;
  width: min(100%, 420px);
  margin: 0 0 6px;
  padding: 8px 10px 7px;
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.62);
  color: #e5f2ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

body.scanner-ui :where(#root) .scanner-matchCard__cutGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  column-gap: 8px;
  row-gap: 4px;
  width: 100%;
}

body.scanner-ui :where(#root) .scanner-matchCard__cutControlInfo {
  display: grid;
  gap: 2px;
  min-width: 56px;
}

body.scanner-ui :where(#root) .scanner-matchCard__cutControlLabel {
  color: rgba(203, 213, 225, 0.76);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
}

body.scanner-ui :where(#root) .scanner-matchCard__cutControlDate {
  color: #e5f2ff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

body.scanner-ui :where(#root) .scanner-matchCard__cutControlTime {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  gap: 6px;
}

body.scanner-ui :where(#root) .scanner-matchCard__cutControlUnit {
  display: grid;
  grid-template-columns: 24px minmax(0, 2.4ch) 24px;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 4px;
  min-width: 0;
}

body.scanner-ui :where(#root) .scanner-matchCard__cutControlArrow {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(203, 213, 225, 0.86);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

body.scanner-ui :where(#root) .scanner-matchCard__cutControlArrow:hover {
  background: rgba(30, 64, 175, 0.32);
  color: #e5f2ff;
}

body.scanner-ui :where(#root) .scanner-matchCard__cutControlDigit {
  color: #e5f2ff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

body.scanner-ui :where(#root) .scanner-matchCard__cutControlColon {
  color: rgba(203, 213, 225, 0.88);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 900px) {
  body.scanner-ui :where(#root) .scanner-panel--cards .scanner-matchToolbarGrid > .summary-cut__box.scanner-matchToolbarGroup--cutPicker {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 8px 10px 7px;
    border-radius: 12px;
    border-color: rgba(59, 130, 246, 0.24);
    background: rgba(15, 23, 42, 0.62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  }

  body.scanner-ui :where(#root) .scanner-panel--cards .scanner-matchToolbarGrid > .summary-cut__box.scanner-matchToolbarGroup--cutPicker .summary-cut__grid {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 8px;
    row-gap: 4px;
  }

  body.scanner-ui :where(#root) .scanner-panel--cards .scanner-matchToolbarGrid > .summary-cut__box.scanner-matchToolbarGroup--cutPicker .summary-cut__digit {
    min-width: 0;
    color: #e5f2ff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
  }

  body.scanner-ui :where(#root) .scanner-panel--cards .scanner-matchToolbarGrid > .summary-cut__box.scanner-matchToolbarGroup--cutPicker .summary-cut__ctrl {
    display: grid;
    grid-template-columns: 20px minmax(0, 2.4ch) 20px;
    align-items: center;
    justify-content: center;
    justify-items: center;
    gap: 4px;
  }

  body.scanner-ui :where(#root) .scanner-panel--cards .scanner-matchToolbarGrid > .summary-cut__box.scanner-matchToolbarGroup--cutPicker .summary-cut__arrow {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(203, 213, 225, 0.86);
    font-size: 15px;
    line-height: 1;
  }

  body.scanner-ui :where(#root) .scanner-panel--cards .scanner-matchToolbarGrid > .summary-cut__box.scanner-matchToolbarGroup--cutPicker .summary-cut__label {
    color: rgba(203, 213, 225, 0.76);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-align: center;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__cutStamp {
    grid-column: 1 / -1;
    justify-self: start;
    margin: 0 0 2px;
    padding: 5px 10px;
    font-size: 12px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__strategyCandidate {
    grid-column: 1 / -1;
    justify-self: start;
    margin: 0 0 2px;
    max-width: 100%;
    white-space: normal;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__cutControl {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    margin: 10px 0 6px;
    padding: 8px 10px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__cutControlUnit {
    grid-template-columns: 24px minmax(0, 2.4ch) 24px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__cutControlArrow {
    width: 24px;
    height: 24px;
  }
}

body.scanner-ui :where(#root) #tour-match-day.scanner-matchToolbarGroup--mobileDate {
  display: none;
}

body.scanner-ui :where(#root) .scanner-matchCard__boardHiddenResult {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 168px;
  padding: 5px 10px;
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: rgba(203, 213, 225, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
}

@media (min-width: 901px) {
  body.scanner-ui :where(#root) .scanner-panel--cards .scanner-matchToolbarGrid #tour-match-day.scanner-matchToolbarGroup--mobileDate {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    margin: -2px 0 0;
  }

  body.scanner-ui :where(#root) .scanner-panel--cards #tour-match-day .summary-toolbar__label {
    min-width: 0;
    width: auto;
  }

  body.scanner-ui :where(#root) .scanner-panel--cards #tour-match-day .scanner-matchDateControls {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    width: auto;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-panel--cards #tour-match-day .scanner-dateWrap {
    width: auto;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-panel--cards #tour-match-day .scanner-dateBtn {
    width: 154px;
    min-height: 30px;
    padding: 6px 10px;
    justify-content: space-between;
  }

  body.scanner-ui :where(#root) .scanner-panel--cards #tour-match-day .seg-btn--nav {
    width: 36px;
    min-width: 36px;
    min-height: 30px;
    padding: 0;
    justify-content: center;
  }

  body.scanner-ui :where(#root) .scanner-panel--cards #tour-match-day .scanner-matchWindowControl {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin-left: 4px;
  }

  body.scanner-ui :where(#root) .scanner-panel--cards #tour-match-day .scanner-matchWindowLabel {
    color: var(--ui-label-color);
    font-size: var(--ui-label-fs);
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
  }

  body.scanner-ui :where(#root) .scanner-panel--cards #tour-match-day .scanner-matchWindowBtn {
    min-width: 58px;
    min-height: 30px;
    padding: 6px 10px;
    justify-content: center;
  }

  body.scanner-ui :where(#root) .scanner-panel--cards #tour-match-day .scanner-calendar {
    z-index: 60;
  }

  /* desktop quick-select row spacing */
  body.scanner-ui :where(#root) .scanner-row:has(.scanner-prematchWindowMenu) {
    column-gap: 6px;
  }

  body.scanner-ui :where(#root) .scanner-row:has(.scanner-prematchWindowMenu) .scanner-row__label {
    min-width: 0;
    width: auto;
  }

  body.scanner-ui :where(#root) .scanner-row:has(.scanner-prematchWindowMenu) .scanner-row__btns {
    margin-left: 0 !important;
  }

  body.scanner-ui :where(#root) .scanner-panel--leagues:has(#tour-filters-day) .scanner-row:has(.scanner-prematchWindowMenu) {
    column-gap: 10px;
  }

  body.scanner-ui :where(#root) .scanner-panel--leagues:has(#tour-filters-day) .scanner-row:has(.scanner-prematchWindowMenu) .scanner-row__label {
    min-width: var(--scanner-filter-label-min-width);
    width: auto;
  }
}

/* shared quick-select popup */
body.scanner-ui .scanner-prematchWindowDropdown--portal {
  position: fixed;
  transform: none !important;
  width: min(304px, calc(100vw - 40px)) !important;
  min-width: 0 !important;
  max-width: min(304px, calc(100vw - 40px)) !important;
  max-height: calc(100dvh - 32px);
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(43, 58, 87, 0.92);
  background: rgba(16, 23, 38, 0.98);
  box-shadow:
    0 0 0 100vmax rgba(2, 6, 23, 0.38),
    0 18px 40px rgba(2, 6, 23, 0.52);
  overflow: auto;
}

body.scanner-ui .scanner-prematchWindowHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

body.scanner-ui .scanner-prematchWindowSectionTitle {
  padding: 0;
  color: rgba(229, 242, 255, 0.84);
  font-size: 11px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

body.scanner-ui .scanner-prematchWindowClose {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(203, 213, 225, 0.68);
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

body.scanner-ui .scanner-prematchWindowOptions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px;
}

body.scanner-ui .scanner-prematchWindowDropdown .scanner-dropdown__item {
  min-height: 34px;
  padding: 0 8px;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #2b3a57;
  background: #101726;
  color: rgba(229, 242, 255, 0.9);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

body.scanner-ui .scanner-prematchWindowDropdown .scanner-dropdown__item.is-active {
  border-color: #2c64d5;
  background: #2c64d5;
  color: #ffffff;
  box-shadow: none;
}

body.scanner-ui .scanner-prematchWindowOptions .scanner-dropdown__check:empty {
  display: none;
}

body.scanner-ui .scanner-prematchWindowOptions .scanner-dropdown__check {
  width: auto;
  min-width: 12px;
}

body.scanner-ui .scanner-prematchWindowDivider {
  height: 1px;
  margin: 10px 0;
  background: rgba(148, 163, 184, 0.14);
}

body.scanner-ui .scanner-prematchWindowCustomBlock {
  margin: 0;
  padding: 0;
}

body.scanner-ui .scanner-prematchWindowCustomHeader {
  display: none;
}

body.scanner-ui .scanner-prematchWindowCustom {
  display: grid;
  grid-template-columns: 52px 76px minmax(88px, 1fr);
  gap: 6px;
  padding: 0;
}

body.scanner-ui .scanner-prematchWindowCustom .scanner-num,
body.scanner-ui .scanner-prematchWindowCustom .seg-btn {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

body.scanner-ui .scanner-prematchWindowCustom .scanner-num {
  padding: 0 8px;
  text-align: center;
  background: #101726;
  border-color: #2b3a57;
}

body.scanner-ui .scanner-prematchWindowUnitTrigger {
  padding: 0 10px;
  background: #101726;
  border-color: #2b3a57;
}

body.scanner-ui .scanner-prematchWindowCustom > .seg-btn:last-child {
  background: #2c64d5;
  border-color: #2c64d5;
  color: #ffffff;
}

body.scanner-ui .scanner-prematchWindowCustom > .seg-btn:last-child:hover {
  background: #3a78ec;
  border-color: #3a78ec;
}

body.scanner-ui .scanner-prematchWindowCustom > .seg-btn:last-child:disabled {
  opacity: 0.55;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 380px) {
  body.scanner-ui .scanner-prematchWindowDropdown--portal {
    width: min(304px, calc(100vw - 28px)) !important;
    max-width: min(304px, calc(100vw - 28px)) !important;
    padding: 10px;
  }

  body.scanner-ui .scanner-prematchWindowOptions {
    gap: 6px;
  }

  body.scanner-ui .scanner-prematchWindowCustom {
    grid-template-columns: minmax(48px, 0.8fr) minmax(66px, 1fr) minmax(84px, 1.18fr);
    gap: 6px;
  }

  body.scanner-ui .scanner-prematchWindowCustom .scanner-num,
  body.scanner-ui .scanner-prematchWindowCustom .seg-btn {
    min-height: 34px;
    font-size: 11px;
  }
}

/* mobile match-column layout */
@media (max-width: 900px) {
  body.scanner-ui .page-main.page-main--wide {
    padding-left: 6px;
    padding-right: 6px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections {
    display: block;
    min-height: 0;
    padding-left: 0;
    padding-right: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--mobilePane {
    width: 100%;
    min-width: 0;
    min-height: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues.scanner-panel--mobilePane,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues.scanner-panel--mobilePane.is-mobile-active {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding-left: 0;
    padding-right: 0;
    border-width: 0;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-tabBody {
    display: grid;
    gap: 10px;
    width: 100%;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-panel__headRow {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-panel__sub {
    width: 100%;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-panel__subSummary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 4px;
    row-gap: 2px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding-left: 6px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-panel__subSummaryMain {
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-panel__subSummaryVolume {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 8px;
    row-gap: 6px;
    width: 100%;
    margin-top: 0 !important;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-row__label {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 28px;
    min-width: max-content;
    width: auto;
    margin: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-row__btns {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    width: auto;
    min-width: 0;
    margin-left: 0 !important;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-row__btns > .seg-btn,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-row__btns .seg-buttons > .seg-btn,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-actions .seg-btn,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-dateBtn {
    min-height: 28px;
    padding: 5px 8px;
    font-size: 11px;
    line-height: 1.1;
    white-space: nowrap;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-search {
    min-height: 28px;
    padding: 6px 10px;
    font-size: 11px;
    line-height: 1.2;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues #tour-leagues-day.scanner-row .scanner-row__btns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: start;
    gap: 4px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues #tour-leagues-day.scanner-row .scanner-row__label {
    min-height: 26px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-dateWrap {
    min-width: 0;
    width: 100%;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-dateBtn {
    width: 100%;
    justify-content: space-between;
    min-height: 26px;
    padding: 4px 8px;
    font-size: 10px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues #tour-leagues-day .seg-btn--nav {
    width: 32px;
    min-width: 32px;
    min-height: 26px;
    padding: 0;
    font-size: 11px;
    justify-content: center;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues #tour-leagues-volume .scanner-row__btns .seg-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: 0 !important;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues #tour-leagues-sort .scanner-sortArrow {
    width: 28px;
    min-width: 28px;
    padding-inline: 0;
    justify-content: center;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues #tour-leagues-sort .scanner-row__btns {
    gap: 4px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues #tour-leagues-sort .scanner-row__btns > .seg-btn {
    min-height: 28px;
    padding: 5px 7px;
    font-size: 10px;
    line-height: 1.1;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-actions {
    margin-top: 2px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-item__caret {
    display: none;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-item__titleRow {
    gap: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-sublist {
    width: 100%;
    min-width: 0;
    margin-left: 0 !important;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards.scanner-panel--mobilePane,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards.scanner-panel--mobilePane.is-mobile-active {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding-left: 0;
    padding-right: 0;
    border-width: 0;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-panel__headRow {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-panel__title,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-panel__sub {
    box-sizing: border-box;
    padding-left: 6px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-panel__headActions {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: start;
    justify-content: stretch;
    gap: 6px;
    width: 100%;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards #tour-match-mode {
    display: grid !important;
    grid-template-columns: repeat(2, max-content);
    gap: 6px;
    grid-column: 1;
    width: 100%;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-panel__headActions > .scanner-helpBtn {
    grid-column: 2;
    justify-self: end;
    align-self: start;
    margin: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards #tour-match-mode .seg-btn {
    width: 100%;
    justify-content: center;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards #tour-match-mode .seg-btn,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .summary-toolbar__buttons > .seg-btn {
    min-height: 28px;
    padding: 5px 8px;
    font-size: 11px;
    line-height: 1.1;
    white-space: nowrap;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchListToolbar,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchListSortToolbar,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchSingleNavToolbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .summary-toolbar__group {
    display: grid;
    gap: 6px;
    width: 100%;
    min-width: 0;
    align-items: flex-start;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .summary-toolbar__label {
    min-width: 0;
    width: auto;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .summary-toolbar__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchListToolbar > .summary-toolbar__group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 8px;
    row-gap: 6px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchListToolbar > .summary-toolbar__group .summary-toolbar__label {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 28px;
    min-width: max-content;
    margin: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchListToolbar > .summary-toolbar__group .summary-toolbar__buttons {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards #tour-match-day.scanner-matchToolbarGroup--mobileDate {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 36px 36px;
    align-items: center;
    column-gap: 8px;
    row-gap: 6px;
    width: 100%;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards #tour-match-day .summary-toolbar__label {
    min-width: 0;
    padding-left: 6px;
    white-space: nowrap;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards #tour-match-day .scanner-matchDateControls {
    display: contents;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards #tour-match-day .scanner-dateWrap {
    grid-column: 2;
    width: 100%;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards #tour-match-day .scanner-dateBtn {
    width: 100%;
    min-height: 30px;
    padding: 5px 9px;
    justify-content: space-between;
    font-size: 11px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards #tour-match-day .seg-btn--nav {
    width: 36px;
    min-width: 36px;
    min-height: 30px;
    padding: 0;
    justify-content: center;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards #tour-match-day .scanner-matchWindowControl {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 8px;
    min-width: 0;
    width: 100%;
    margin-left: 0;
    padding-left: 6px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards #tour-match-day .scanner-matchWindowLabel {
    color: var(--ui-label-color);
    font-size: var(--ui-label-fs);
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards #tour-match-day .scanner-matchWindowBtn {
    justify-self: start;
    min-width: 58px;
    min-height: 30px;
    padding: 5px 9px;
    justify-content: center;
    font-size: 11px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchToolbarGroup--metrics {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 8px;
    row-gap: 6px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchToolbarGroup--metrics .summary-toolbar__buttons {
    width: auto;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchListSortToolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 5px;
    row-gap: 6px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchListSortToolbar > .summary-toolbar__group:first-child {
    display: contents;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchListSortToolbar > .summary-toolbar__group:first-child .summary-toolbar__label {
    grid-column: 1 / -1;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchListSortToolbar > .summary-toolbar__group:first-child .summary-toolbar__buttons {
    grid-column: 1;
    align-self: end;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchListSortToolbar > .summary-toolbar__group:first-child .summary-toolbar__buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchListSortToolbar > .summary-toolbar__group:first-child .summary-toolbar__buttons {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 0.95fr);
    gap: 5px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchListSortToolbar > .summary-toolbar__group:first-child .summary-toolbar__buttons > .seg-btn {
    width: 100%;
    justify-content: center;
    padding-inline: 6px;
    font-size: 10px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchListSortToolbar__sortDirGroup {
    grid-column: 2;
    grid-row: 2;
    width: auto;
    justify-self: end;
    align-self: end;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchListSortToolbar__sortDirGroup .summary-toolbar__buttons {
    width: auto;
    flex-wrap: nowrap;
    gap: 5px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchListSortToolbar__sortDirGroup .scanner-sortArrow {
    width: 30px;
    min-width: 30px;
    padding-inline: 0;
    justify-content: center;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchListSortToolbar__sortDirGroup .scanner-helpBtn {
    width: 28px;
    min-width: 28px;
    height: 28px;
    font-size: 11px;
    line-height: 1;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchStatsBar {
    width: 100%;
    display: grid;
    gap: 8px;
    margin-top: 6px;
    margin-left: 0;
    padding: 10px 6px 12px;
    font-size: 11px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchStatsBar__head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    flex-wrap: nowrap;
    margin-bottom: 5px;
    font-size: 11px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchStatsBar__label {
    font-size: 11px;
    line-height: 1.1;
    font-weight: 800;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchStatsBar__hint {
    font-size: 10px;
    line-height: 1.1;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatsGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatsGrid--strategy {
    grid-template-columns: 1fr;
    gap: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatCard {
    padding: 8px 6px;
    gap: 5px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatCard--strategy {
    width: 100%;
    min-width: 0;
    padding: 10px;
    gap: 10px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-strategyStatHead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-strategyStatIdentity {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-strategyStatName {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.1;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-strategyStatMeta {
    justify-self: end;
    white-space: nowrap;
    font-size: 10px;
    line-height: 1.1;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-strategyStatHero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding-bottom: 10px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-strategyStatKpi {
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-strategyStatKpiLabel {
    font-size: 9px;
    line-height: 1.1;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-strategyStatKpiValue,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-strategyStatPassValue {
    font-size: 18px;
    line-height: 1.05;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-strategyStatHistory {
    display: grid;
    gap: 8px;
    width: 100%;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-strategyStatHistoryLabel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    font-size: 10px;
    line-height: 1.15;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-strategyCalendarBtn {
    min-height: 28px;
    padding: 5px 9px;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-strategyStatStreak {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-strategyStatStreakWrap {
    display: contents;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-strategyStatStreakItem {
    flex: 0 0 calc((100% - 30px) / 6);
    width: calc((100% - 30px) / 6);
    min-width: 0;
    max-width: none;
    height: 10px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-strategyStatStreakItem.is-active {
    transform: none;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-strategyStatStreakTip {
    position: static;
    order: 999;
    flex: 1 0 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    transform: none;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    text-align: left;
    padding: 7px 10px;
    font-size: 11px;
    line-height: 1.2;
    pointer-events: auto;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-strategyStatFooter {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding: 8px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-strategyStatPresets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-strategyStatPresets .seg-btn {
    width: 100%;
    min-width: 0;
    min-height: 30px;
    justify-content: center;
    padding: 5px 6px;
    font-size: 12px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-strategyStatStakeBox {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-strategyStatStakeInput {
    width: 100%;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatCard:not(.scanner-outcomeStatCard--strategy) .scanner-outcomeStatCard__head {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    justify-content: stretch;
    width: 100%;
    column-gap: 0;
    row-gap: 4px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatCard:not(.scanner-outcomeStatCard--strategy) .scanner-outcomeStatCard__titles {
    display: block;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatCard:not(.scanner-outcomeStatCard--strategy) .scanner-outcomeStatCard__titleRow {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px;
    width: 100%;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatCard:not(.scanner-outcomeStatCard--strategy) .scanner-outcomeStatBadge {
    display: none;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatCard:not(.scanner-outcomeStatCard--strategy) .scanner-outcomeStatTitle {
    min-width: 0;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    flex: 0 0 auto;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatCard:not(.scanner-outcomeStatCard--strategy) .scanner-outcomeStatInlineMeta {
    display: inline-flex;
    align-items: baseline;
    justify-self: auto;
    min-width: 0;
    gap: 2px;
    margin-left: 0;
    white-space: nowrap;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatCard:not(.scanner-outcomeStatCard--strategy) .scanner-outcomeStatCard__pass {
    display: flex;
    align-items: baseline;
    justify-self: auto;
    justify-content: space-between;
    min-width: 0;
    gap: 3px;
    text-align: left;
    white-space: nowrap;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatCard:not(.scanner-outcomeStatCard--strategy) .scanner-outcomeStatInlineMeta,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatCard:not(.scanner-outcomeStatCard--strategy) .scanner-outcomeStatPassLabel {
    font-size: 7px;
    line-height: 1;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatCard:not(.scanner-outcomeStatCard--strategy) .scanner-outcomeStatInlineMeta strong {
    font-size: 8px;
    line-height: 1;
    font-weight: 800;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatPassValue {
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatChips {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-statPill {
    width: 100%;
    justify-content: space-between;
    padding: 4px 6px;
    font-size: 8px;
    line-height: 1.1;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-statPill strong {
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchStatsBar__label,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchStatsBar__hint,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatInlineMeta,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatPassLabel,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatPassValue {
    white-space: nowrap;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatPassLabel::after {
    content: ":";
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatCard:not(.scanner-outcomeStatCard--strategy) .scanner-outcomeStatBadge {
    font-size: 0;
    line-height: 1;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatCard:not(.scanner-outcomeStatCard--strategy) .scanner-outcomeStatBadge::before {
    font-size: 9px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-outcomeStatCard:not(.scanner-outcomeStatCard--strategy) .scanner-outcomeStatBadge::before {
    content: "Исход";
    font-size: 8px;
    line-height: 1;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchList {
    display: grid;
    gap: 10px;
    flex: none;
    min-height: auto;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchListStatus {
    position: static;
    inset: auto;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__info,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomes {
    width: 100%;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard {
    padding: 8px;
    border-color: rgba(96, 165, 250, 0.08);
    border-radius: 12px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__top {
    display: grid;
    gap: 10px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardTop {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardCtx {
    width: 100%;
    min-width: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.3;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardTime {
    width: 100%;
    min-width: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    color: var(--muted);
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardRight {
    display: flex;
    width: 100%;
    min-width: 0;
    justify-content: space-between;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardMid {
    width: 100%;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardMid:not(.scanner-matchCard__boardMid--noScore) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 5px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardMid.scanner-matchCard__boardMid--noScore {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardMid.scanner-matchCard__boardMid--noScore .scanner-matchCard__boardTeam {
    gap: 7px;
    min-width: 0;
    width: 100%;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardMid.scanner-matchCard__boardMid--noScore .scanner-matchCard__boardLogo {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    font-size: 13px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardMid.scanner-matchCard__boardMid--noScore .scanner-matchCard__boardName {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 13px;
    line-height: 1.15;
    font-weight: 800;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardMid.scanner-matchCard__boardMid--noScore .scanner-matchCard__boardTeam--home .scanner-matchCard__boardName {
    text-align: left;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardMid.scanner-matchCard__boardMid--noScore .scanner-matchCard__boardTeam--away .scanner-matchCard__boardName {
    text-align: right;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardMid:not(.scanner-matchCard__boardMid--noScore) .scanner-matchCard__boardTeam {
    gap: 5px;
    min-width: 0;
    width: 100%;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardMid:not(.scanner-matchCard__boardMid--noScore) .scanner-matchCard__boardTeam--home {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardMid:not(.scanner-matchCard__boardMid--noScore) .scanner-matchCard__boardTeam--away {
    grid-column: 3;
    grid-row: 1;
    justify-content: flex-end;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardMid:not(.scanner-matchCard__boardMid--noScore) .scanner-matchCard__boardLogo {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 11px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardMid:not(.scanner-matchCard__boardMid--noScore) .scanner-matchCard__boardName {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 700;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardMid:not(.scanner-matchCard__boardMid--noScore) .scanner-matchCard__boardTeam--home .scanner-matchCard__boardName {
    text-align: left;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardMid:not(.scanner-matchCard__boardMid--noScore) .scanner-matchCard__boardTeam--away .scanner-matchCard__boardName {
    text-align: right;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardMid:not(.scanner-matchCard__boardMid--noScore) .scanner-matchCard__boardScore {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    font-size: 15px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardMid:not(.scanner-matchCard__boardMid--noScore) .scanner-matchCard__boardHiddenResult {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    max-width: 94px;
    padding: 5px 8px;
    font-size: 10px;
    white-space: normal;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardCountdown {
    min-width: 0;
    width: 100%;
    align-items: center;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__boardBottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding-top: 6px;
    margin-top: 0;
    border-top-color: rgba(148, 163, 184, 0.08);
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__eventStatus {
    position: static;
    max-width: none;
    text-align: center;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__halves {
    width: auto;
    max-width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__halves > span {
    padding: 3px 10px;
    font-size: 11px;
    line-height: 1.15;
    border-color: rgba(148, 163, 184, 0.14);
    background: rgba(2, 6, 23, 0.2);
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomesMetaRow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: flex-start;
    column-gap: 6px;
    row-gap: 6px;
    width: 100%;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomesTools,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomesActions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomesTools {
    grid-column: 1 / -1;
    width: 100%;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomesActions {
    width: auto;
    flex: 0 0 auto;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomesTools > .scanner-iconBtn,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomesTools > .scanner-iconToggle,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomesActions > .scanner-iconBtn {
    flex: 0 0 auto;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomesMetaCol {
    display: contents;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__matchNo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: flex-start;
    flex: 0 0 auto;
    min-width: 28px;
    padding: 2px 8px;
    margin-left: 0;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    white-space: nowrap;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomesMetaRow:has(.scanner-matchCard__cutControl) .scanner-matchCard__matchNo {
    grid-row: 2;
    align-self: center;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomesRow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    align-items: start;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomeCard,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__metrics {
    width: 100%;
    max-width: none;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomeCard {
    min-width: 0;
    padding: 4px;
    border-radius: 10px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__metrics {
    display: grid;
    gap: 6px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomeCard .cards-titlebar {
    min-height: 30px;
    padding: 0 8px;
    border-radius: 10px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomeCard .cards-titlebar__text {
    font-size: 10px;
    line-height: 1;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomeCard .cards-dot {
    transform: scale(.88);
    transform-origin: center;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomeCard .cards-kv {
    font-size: 8px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomeCard .cards-kv th,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomeCard .cards-kv td {
    padding: 4px 6px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomeCard .cards-kv th {
    font-size: 8px;
    white-space: nowrap;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomeCard .cards-kv td {
    font-size: 10px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__outcomeCard .cards-sep td {
    padding-top: 3px;
    padding-bottom: 3px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__metric {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchCard__metricKey {
    white-space: normal;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(96, 165, 250, 0.08);
    box-shadow: none;
    position: relative;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match + .scanner-match {
    margin-top: 10px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match + .scanner-match::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
    pointer-events: none;
    background:
      linear-gradient(180deg,
        rgba(2, 6, 23, 0.05) 0%,
        rgba(2, 6, 23, 0.72) 48%,
        rgba(2, 6, 23, 0.1) 100%);
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__titleRow {
    order: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    row-gap: 8px;
    column-gap: 8px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__titleWrap {
    display: contents;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__title {
    grid-column: 1 / -1;
    grid-row: 1;
    min-width: 0;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow-wrap: anywhere;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__title[data-team-split="done"] {
    min-height: 1.25em;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    -webkit-box-orient: initial;
    -webkit-line-clamp: unset;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__titleHome,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__titleAway {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__titleHome {
    text-align: right;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__titleAway {
    text-align: left;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__titleSep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__gotoMini {
    grid-column: 3;
    grid-row: 2;
    width: 24px;
    min-width: 24px;
    height: 24px;
    min-height: 24px;
    padding: 0;
    border-radius: 8px;
    justify-self: end;
    align-self: center;
    margin-left: 0;
    opacity: 0.9;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__gotoMini .scanner-iconBtn__label {
    font-size: 12px;
    line-height: 1;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__right {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    justify-content: center;
    width: 100%;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__titleRow:has(> .scanner-match__right:empty) {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto;
    align-items: center;
    row-gap: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__titleRow:has(> .scanner-match__right:empty) .scanner-match__title {
    grid-column: 1;
    grid-row: 1;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__titleRow:has(> .scanner-match__right:empty) .scanner-match__gotoMini {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__titleRow:has(> .scanner-match__right:empty) .scanner-match__right {
    display: none;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__scoreBlock {
    display: grid;
    justify-items: center;
    gap: 3px;
    text-align: center;
    min-width: 0;
    width: 100%;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__scoreLine1 {
    display: grid;
    justify-items: center;
    gap: 4px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__score {
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__scoreHalvesInline,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__scoreHalves {
    font-size: 11px;
    line-height: 1.15;
    white-space: normal;
    text-align: center;
    max-width: none;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__meta {
    order: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 8px;
    row-gap: 2px;
    font-size: 12px;
    line-height: 1.2;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__meta > span:nth-child(2) {
    display: none !important;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__meta > span:nth-child(3) {
    display: block !important;
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1.2;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__meta > span:first-child {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    white-space: nowrap;
    color: var(--muted);
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__vol {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    white-space: nowrap;
    text-align: right;
    font-size: 12px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__pillRow {
    order: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__pillRow:has(> .scanner-match__pill:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__pillRow:has(> .scanner-match__pill:first-child:last-child) {
    grid-template-columns: minmax(0, 1fr);
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__pill {
    min-width: 0;
    padding: 6px 7px;
    border-radius: 12px;
    display: grid;
    grid-template-columns: auto auto auto auto;
    align-items: center;
    align-content: center;
    justify-content: center;
    gap: 3px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__pillKey {
    grid-column: 1;
    grid-row: 1;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__pillVal--ohlc {
    display: contents !important;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__pillVal {
    grid-column: 2 / -1;
    grid-row: 1;
    min-width: 0;
    font-size: 10px;
    line-height: 1.1;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__pillVal--ohlc .scanner-pill__open {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__pillVal--ohlc .scanner-pill__close {
    grid-column: 4;
    grid-row: 1;
    justify-self: start;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__pillVal--ohlc .scanner-pill__open,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__pillVal--ohlc .scanner-pill__close,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__pillVal--ohlc .scanner-pill__arrow {
    font-size: 10px;
    line-height: 1;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__pillVal--ohlc .scanner-pill__arrow:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
    font-size: 0;
    line-height: 1;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__pillVal--ohlc .scanner-pill__arrow:nth-child(2)::before {
    content: "-";
    font-size: 10px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__pillVal--ohlc .scanner-pill__arrow:nth-child(4) {
    display: none;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-match__pill .pct-chip--mini {
    grid-column: 2 / -1;
    grid-row: 2;
    justify-self: center;
    margin-top: 1px;
    font-size: 10px;
    line-height: 1;
    padding: 1px 5px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-day,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-timezone,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-time,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-outcome,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-cut {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 8px;
    row-gap: 6px;
    width: 100%;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-day .scanner-row__label,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-timezone .scanner-row__label,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-time .scanner-row__label,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-outcome .scanner-row__label,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-cut .scanner-row__label {
    min-width: 0;
    width: auto;
    min-height: 30px;
    margin: 0;
    align-self: center;
    white-space: nowrap;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--filters .scanner-panel__sub,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--filters .scanner-sectionTitle,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--mobilePane:has(#tour-filters-day) .scanner-panel__headRow .scanner-panel__sub,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--mobilePane:has(#tour-filters-day) .scanner-sectionTitle,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-day .scanner-row__label,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-timezone .scanner-row__label,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-time .scanner-row__label {
    box-sizing: border-box;
    padding-left: 6px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-outcome .scanner-row__label,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-cut .scanner-row__label,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-kfpoint .scanner-row__label,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-ranges .scanner-row__label {
    padding-left: 6px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues :is(
    #tour-leagues-day,
    #tour-leagues-time,
    #tour-leagues-outcomes,
    #tour-leagues-volume,
    #tour-leagues-group,
    #tour-leagues-sort
  ) .scanner-row__label {
    padding-left: 6px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-row:has(.scanner-prematchWindowMenu) .scanner-row__label {
    padding-left: 6px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards :is(
    #tour-match-time,
    #tour-match-cut,
    #tour-match-outcomes,
    #tour-match-highlight,
    #tour-match-results,
    #tour-match-kf,
    #tour-match-volumes,
    #tour-match-sort,
    #tour-match-nav
  ) .summary-toolbar__label {
    padding-left: 6px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--cards .scanner-matchToolbarGroup--metrics .summary-toolbar__label {
    padding-left: 6px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-day .scanner-row__btns,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-timezone .scanner-row__btns,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-time .scanner-row__btns,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-outcome .scanner-row__btns,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-cut .scanner-row__btns {
    min-width: 0;
    width: 100%;
    margin-left: 0 !important;
    gap: 6px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-day .scanner-row__btns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px 36px;
    align-items: center;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-day .scanner-dateWrap {
    min-width: 0;
    width: 100%;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-day .scanner-dateBtn {
    width: 100%;
    min-height: 30px;
    padding: 5px 9px;
    justify-content: space-between;
    font-size: 11px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-day .seg-btn--nav {
    width: 36px;
    min-width: 36px;
    min-height: 30px;
    padding: 0;
    justify-content: center;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-timezone .scanner-outcomeSelect {
    width: 100%;
    min-width: 0;
    min-height: 30px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 11px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-time .seg-btn,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-outcome .seg-btn,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-cut .seg-btn,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-kfpoint .seg-btn,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-actions .seg-btn,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-actions .btn-primary,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-bar :is(.seg-btn, .btn-primary, .scanner-helpBtn--text) {
    min-height: 30px;
    padding: 5px 8px;
    font-size: 11px;
    line-height: 1.1;
    white-space: nowrap;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-subtabs {
    margin-top: 6px !important;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-subtabs .scanner-row__label,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-actions .scanner-row__label {
    display: none;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-kfpoint {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 6px !important;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-kfpoint .scanner-row__label {
    min-width: 0;
    width: 100%;
    min-height: 0;
    margin: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-kfpoint .scanner-row__btns {
    width: 100%;
    margin-left: 0 !important;
    gap: 6px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-kfpoint .scanner-helpBtn {
    width: 30px;
    min-width: 30px;
    height: 30px;
    padding: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-cut .scanner-preko-num {
    width: 52px;
    min-width: 52px;
    min-height: 30px;
    margin: 0;
    padding: 5px 8px;
    font-size: 11px;
  }

  body.scanner-ui .scanner-prematchWindowDropdown--portal {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: min(304px, calc(100vw - 40px)) !important;
    min-width: 0 !important;
    max-width: min(304px, calc(100vw - 40px)) !important;
    max-height: calc(100dvh - 32px);
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(43, 58, 87, 0.92);
    background: rgba(16, 23, 38, 0.98);
    box-shadow:
      0 0 0 100vmax rgba(2, 6, 23, 0.38),
      0 18px 40px rgba(2, 6, 23, 0.52);
    overflow: auto;
  }

  body.scanner-ui .scanner-prematchWindowHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
  }

  body.scanner-ui .scanner-prematchWindowSectionTitle {
    padding: 0;
    color: rgba(229, 242, 255, 0.84);
    font-size: 11px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  body.scanner-ui .scanner-prematchWindowClose {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: rgba(203, 213, 225, 0.68);
    font: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
  }

  body.scanner-ui .scanner-prematchWindowOptions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px;
  }

  body.scanner-ui .scanner-prematchWindowDropdown .scanner-dropdown__item {
    min-height: 34px;
    padding: 0 8px;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #2b3a57;
    background: #101726;
    color: rgba(229, 242, 255, 0.9);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
  }

  body.scanner-ui .scanner-prematchWindowDropdown .scanner-dropdown__item.is-active {
    border-color: #2c64d5;
    background: #2c64d5;
    color: #ffffff;
    box-shadow: none;
  }

  body.scanner-ui .scanner-prematchWindowOptions .scanner-dropdown__check:empty {
    display: none;
  }

  body.scanner-ui .scanner-prematchWindowOptions .scanner-dropdown__check {
    width: auto;
    min-width: 12px;
  }

  body.scanner-ui .scanner-prematchWindowDivider {
    height: 1px;
    margin: 10px 0;
    background: rgba(148, 163, 184, 0.14);
  }

  body.scanner-ui .scanner-prematchWindowCustomBlock {
    margin: 0;
    padding: 0;
  }

  body.scanner-ui .scanner-prematchWindowCustomHeader {
    display: none;
  }

  body.scanner-ui .scanner-prematchWindowCustom {
    display: grid;
    grid-template-columns: 52px 76px minmax(88px, 1fr);
    gap: 6px;
    padding: 0;
  }

  body.scanner-ui .scanner-prematchWindowCustom .scanner-num,
  body.scanner-ui .scanner-prematchWindowCustom .seg-btn {
    width: 100%;
    min-width: 0;
    min-height: 36px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
  }

  body.scanner-ui .scanner-prematchWindowCustom .scanner-num {
    padding: 0 8px;
    text-align: center;
    background: #101726;
    border-color: #2b3a57;
  }

  body.scanner-ui .scanner-prematchWindowUnitTrigger {
    padding: 0 10px;
    background: #101726;
    border-color: #2b3a57;
  }

  body.scanner-ui .scanner-prematchWindowCustom > .seg-btn:last-child {
    background: #2c64d5;
    border-color: #2c64d5;
    color: #ffffff;
  }

  body.scanner-ui .scanner-prematchWindowCustom > .seg-btn:last-child:hover {
    background: #3a78ec;
    border-color: #3a78ec;
  }

  body.scanner-ui .scanner-prematchWindowCustom > .seg-btn:last-child:disabled {
    opacity: 0.55;
    color: rgba(255, 255, 255, 0.72);
  }

  @media (max-width: 380px) {
    body.scanner-ui .scanner-prematchWindowDropdown--portal {
      width: min(304px, calc(100vw - 28px)) !important;
      max-width: min(304px, calc(100vw - 28px)) !important;
      padding: 10px;
    }

    body.scanner-ui .scanner-prematchWindowOptions {
      gap: 6px;
    }

    body.scanner-ui .scanner-prematchWindowCustom {
      grid-template-columns: minmax(48px, 0.8fr) minmax(66px, 1fr) minmax(84px, 1.18fr);
      gap: 6px;
    }

    body.scanner-ui .scanner-prematchWindowCustom .scanner-num,
    body.scanner-ui .scanner-prematchWindowCustom .seg-btn {
      min-height: 34px;
      font-size: 11px;
    }
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-ranges {
    display: grid;
    gap: 6px;
    width: 100%;
    margin-top: 8px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-ranges .scanner-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    column-gap: 6px;
    width: 100%;
    margin-top: 0 !important;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-ranges .scanner-row__label {
    min-width: 0;
    width: 44px;
    height: 100%;
    min-height: 30px;
    margin: 0;
    justify-content: flex-start;
    font-size: 11px;
    line-height: 1.1;
    white-space: nowrap;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-ranges .scanner-range {
    display: grid;
    grid-template-columns: minmax(65px, 110px) 12px minmax(65px, 110px) 66px;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-ranges .scanner-numWrap {
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-ranges .scanner-numWrap input.scanner-num {
    width: 100%;
    min-width: 65px;
    height: 30px;
    margin: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 11px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-ranges .scanner-range__dash {
    justify-self: center;
    color: rgba(226, 232, 240, 0.68);
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-ranges .scanner-obMetric {
    margin-left: 0 !important;
    min-width: 66px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-ranges .scanner-obMetric > .seg-btn {
    width: 100%;
    min-height: 30px;
    padding: 5px 8px !important;
    font-size: 11px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-actions {
    display: block;
    width: 100%;
    margin-top: 10px !important;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-actions .scanner-applyRow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    margin-left: 0 !important;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-actions .scanner-applyRow > * {
    width: 100%;
    justify-content: center;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-actions .scanner-applyRow > :nth-child(2) {
    grid-column: 1 / -1;
    order: 3;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-actions .scanner-applyRow > :nth-child(3) {
    order: 2;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-bar {
    display: grid;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-bar .scanner-strategyBar__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-bar .scanner-strategyBar__headMain {
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-bar .scanner-strategyBar__label {
    font-size: 12px;
    line-height: 1.1;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-bar .scanner-strategyBar__hint {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.3;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-bar .scanner-strategyBar__headActions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 6px;
    grid-column: 1 / -1;
    width: 100%;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-bar .scanner-strategyHelpLink {
    width: 100%;
    min-width: 0;
    height: 30px;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-bar .scanner-helpBtn--strategyBar {
    width: 30px;
    min-width: 30px;
    height: 30px;
    padding: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-bar .scanner-strategyBar__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-bar .scanner-strategyBar__actions > * {
    width: 100%;
    justify-content: center;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-filters-actions .scanner-applyRow > button,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-bar :is(.scanner-strategyBar__headActions, .scanner-strategyBar__actions) > button,
  body.scanner-ui :where(#root) :is(.scanner-strategyLibrary, .scanner-outcomeDialog, .scanner-formDialog) :is(button, .modal-help-toggle) {
    height: 44px !important;
    min-height: 44px !important;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-strategyZone,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-bar,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-bar :is(
    .scanner-strategyBar__head,
    .scanner-strategyBar__headMain,
    .scanner-strategyBar__hint,
    .scanner-strategyBar__dirty,
    .scanner-strategyBar__hint--quick,
    .scanner-strategyPills,
    .scanner-strategyPill,
    .scanner-strategyPill__name
  ),
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-panel :is(
    .scanner-strategyPanel__header,
    .scanner-strategyTitleRow,
    .scanner-strategyTitle,
    .scanner-strategyDesc,
    .scanner-strategyTags,
    .scanner-strategyTag,
    .scanner-branchesSection,
    .scanner-branchesHeader,
    .scanner-branchesGridPremium,
    .scanner-branchCardPremium,
    .scanner-branchHead,
    .scanner-branchTitle,
    .scanner-branchStats,
    .scanner-branchActions
  ) {
    max-width: 100%;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-bar .scanner-strategyBar__hint,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-panel .scanner-strategyDesc,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-panel .scanner-strategyTag,
  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-panel .scanner-branchStatVal {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-bar .scanner-strategyPills {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 6px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-bar .scanner-strategyPill {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    padding: 6px 8px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-bar .scanner-strategyPill__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-bar .scanner-strategyPill__badge {
    white-space: nowrap;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-panel {
    padding: 12px;
    border-radius: 14px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-panel .scanner-strategyPanel__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-panel .scanner-strategyTitle {
    font-size: 16px;
    line-height: 1.18;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-panel .scanner-strategyTags {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-panel .scanner-strategyTag {
    padding: 6px 8px;
    font-size: 11px;
    line-height: 1.25;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-panel .scanner-branchesHeader {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 10px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-panel .scanner-toggleSwitch {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-panel .scanner-toggleOption {
    min-width: 0;
    padding: 6px 8px;
    font-size: 11px;
    white-space: normal;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-panel .scanner-branchesGridPremium {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-panel .scanner-branchCardPremium {
    padding: 12px;
    overflow: hidden;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-panel .scanner-branchActions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px 34px;
    gap: 6px;
    align-items: center;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections #tour-strategy-panel .scanner-applyBtn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--mobilePane.is-library-open {
    z-index: 4000;
  }

  body.scanner-ui :where(#root) .scanner-strategyLibrary {
    position: fixed;
    inset: 0;
    z-index: 3000;
    align-items: flex-start;
    padding: 8px;
    overflow-y: auto;
  }

  body.scanner-ui :where(#root) .scanner-strategyLibrary__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: calc(100dvh - 16px);
    display: grid;
    grid-template-rows: auto auto auto auto;
    overflow-y: auto;
    border-radius: 18px;
  }

  body.scanner-ui :where(#root) .scanner-strategyLibrary__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
    padding: 14px 14px 10px;
  }

  body.scanner-ui :where(#root) .scanner-strategyLibrary__title {
    font-size: 16px;
    line-height: 1.15;
  }

  body.scanner-ui :where(#root) .scanner-strategyLibrary__subtitle {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.25;
  }

  body.scanner-ui :where(#root) .scanner-strategyLibrary__header .scanner-iconBtn,
  body.scanner-ui :where(#root) .scanner-strategyLibrary__header .modal-help-toggle {
    width: 30px;
    min-width: 30px;
    height: 30px;
  }

  body.scanner-ui :where(#root) .scanner-strategyLibrary__toolbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 14px;
  }

  body.scanner-ui :where(#root) .scanner-strategyLibrary__search {
    width: 100%;
    min-height: 38px;
    padding: 9px 12px;
    font-size: 12px;
  }

  body.scanner-ui :where(#root) .scanner-strategyLibrary__toolbar .scanner-row__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
  }

  body.scanner-ui :where(#root) .scanner-strategyLibrary__toolbar .seg-btn,
  body.scanner-ui :where(#root) .scanner-strategyLibrary__footer :is(.seg-btn, .btn-primary) {
    min-height: 30px;
    padding: 5px 8px;
    font-size: 11px;
    line-height: 1.1;
    white-space: nowrap;
  }

  body.scanner-ui :where(#root) .scanner-strategyLibrary__body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    overflow: visible;
  }

  body.scanner-ui :where(#root) .scanner-strategyLibrary__list,
  body.scanner-ui :where(#root) .scanner-strategyLibrary__preview {
    min-height: 0;
    max-height: none;
    padding: 12px 14px;
    overflow: visible;
  }

  body.scanner-ui :where(#root) .scanner-strategyLibrary__list:has(> .scanner-strategyLibrary__item) {
    max-height: 44dvh;
    overflow-y: auto;
  }

  body.scanner-ui :where(#root) .scanner-strategyLibrary__preview:has(.scanner-branchesSection) {
    max-height: 48dvh;
    overflow-y: auto;
  }

  body.scanner-ui :where(#root) .scanner-strategyLibrary__body:has(.scanner-strategyLibrary__list > .scanner-strategyLibrary__empty) .scanner-strategyLibrary__preview {
    display: none;
  }

  body.scanner-ui :where(#root) .scanner-strategyLibrary__empty {
    min-height: 0;
    margin: 0;
    padding: 12px;
    font-size: 12px;
    line-height: 1.25;
    border-radius: 12px;
  }

  body.scanner-ui :where(#root) .scanner-strategyLibrary__footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 10px 14px 14px;
  }

  body.scanner-ui :where(#root) .scanner-strategyLibrary__footer > * {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  body.scanner-ui :where(#root) .scanner-confirmBackdrop,
  body.scanner-ui :where(#root) .gt-backdrop:has(.scanner-confirmDialog) {
    z-index: 7000;
    align-items: center;
    justify-content: center;
    padding: 12px;
  }

  body.scanner-ui :where(#root) .scanner-confirmBackdrop .scanner-confirmDialog,
  body.scanner-ui :where(#root) .gt-backdrop:has(.scanner-confirmDialog) .scanner-confirmDialog {
    width: min(420px, calc(100vw - 24px));
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    border-radius: 16px;
    padding: 14px;
  }

  body.scanner-ui .gt-backdrop:has(.scanner-calendarModal) {
    align-items: flex-start;
    justify-content: center;
    padding: 8px 6px;
    overflow-y: auto;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal {
    width: 100%;
    max-width: calc(100vw - 12px);
    max-height: calc(100dvh - 16px);
    padding: 10px;
    border-radius: 18px;
    overflow-y: auto;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 30px;
    align-items: start;
    gap: 8px;
    margin-bottom: 10px;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal__title {
    font-size: 15px;
    line-height: 1.12;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal__subtitle {
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal__header :is(.scanner-modalCloseBtn, .seg-btn) {
    width: 30px;
    min-width: 30px;
    height: 30px;
    padding: 0;
    justify-content: center;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal__body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 0;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal__calendar,
  body.scanner-ui :where(#root) .scanner-calendarModal__side {
    width: 100%;
    min-width: 0;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal__calendar {
    display: grid;
    gap: 7px;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal .cal__nav {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 8px;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal .cal__navTitle {
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal .cal__nav :is(.seg-btn, button) {
    width: 40px;
    min-width: 40px;
    height: 34px;
    padding: 0;
    justify-content: center;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal .cal__weekdays,
  body.scanner-ui :where(#root) .scanner-calendarModal .cal__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal .cal__weekday {
    min-width: 0;
    text-align: center;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal .cal__day {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    aspect-ratio: 1 / 1;
    padding: 5px;
    border-radius: 12px;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal .cal__dayNum {
    font-size: 12px;
    line-height: 1;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal .cal__pnl {
    left: 6px;
    bottom: 5px;
    height: 3px;
    max-width: calc(100% - 12px);
  }

  body.scanner-ui :where(#root) .scanner-calendarModal__side {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal .cal__panel {
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 16px;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal .cal__panelTitle {
    margin: 0 0 2px;
    font-size: 12px;
    line-height: 1.1;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal .cal__statRow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 8px;
    font-size: 12px;
    line-height: 1.2;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal .cal__statValue {
    text-align: right;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal .cal__statBreakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-row {
    margin: 0 !important;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal .cal__pill {
    display: flex;
    align-items: center;
    flex: 1 1 140px;
    min-width: min(140px, 100%);
    max-width: 100%;
    justify-content: center;
    padding: 5px 6px;
    font-size: 10px;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  body.scanner-ui :where(#root) .scanner-calendarModal .scanner-calendarModal__openBtn {
    width: 100%;
    min-height: 34px;
    margin-top: 2px;
    justify-content: center;
    font-size: 12px;
  }

  body.scanner-ui :where(#root) .scanner-flex--mobileSections .scanner-panel--leagues .scanner-star--matchCorner {
    display: none;
  }
}

body.scanner-ui .scanner-matchSettingsModal {
  width: min(860px, calc(100vw - 32px));
}

body.scanner-ui .scanner-matchSettingsModal .help-modal__header {
  position: relative;
  padding-right: 40px;
}

body.scanner-ui .scanner-matchSettingsModal .help-modal__close {
  position: absolute;
  top: -8px;
  right: -4px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 10px;
  color: #cbd5e1;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

body.scanner-ui .scanner-matchSettingsModal__body {
  padding-right: 0;
}

body.scanner-ui .scanner-matchSettingsModal__toolbar {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 22px;
  row-gap: 10px;
  width: 100%;
  padding: 8px 0 0;
  align-items: start;
  background: transparent;
  box-shadow: none;
}

body.scanner-ui .scanner-matchSettingsModal__toolbar .scanner-matchToolbarGroup {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

body.scanner-ui .scanner-matchSettingsModal__toolbar .summary-toolbar__label {
  flex: 0 0 auto;
  min-width: 0;
  white-space: nowrap;
}

body.scanner-ui .scanner-matchSettingsModal__toolbar .summary-toolbar__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

body.scanner-ui .scanner-matchSettingsModal__toolbar .summary-cut__digit {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
}

body.scanner-ui .scanner-matchSettingsModal__toolbar .summary-cut__arrow {
  font-size: 15px;
}

body.scanner-ui .scanner-matchSettingsModal__toolbar .scanner-matchToolbarGroup--time {
  grid-column: 1;
  grid-row: 1;
}

body.scanner-ui .scanner-matchSettingsModal__toolbar .scanner-matchToolbarGroup--cut {
  grid-column: 2;
  grid-row: 1;
}

body.scanner-ui .scanner-matchSettingsModal__toolbar .scanner-matchToolbarGroup--cutPicker,
body.scanner-ui .scanner-matchSettingsModal__toolbar .scanner-matchToolbarGroup--outcomes,
body.scanner-ui .scanner-matchSettingsModal__toolbar .scanner-matchToolbarGroup--detail,
body.scanner-ui .scanner-matchSettingsModal__toolbar .scanner-matchToolbarGroup--highlight,
body.scanner-ui .scanner-matchSettingsModal__toolbar .scanner-matchToolbarGroup--results,
body.scanner-ui .scanner-matchSettingsModal__toolbar .scanner-matchToolbarGroup--kf,
body.scanner-ui .scanner-matchSettingsModal__toolbar .scanner-matchToolbarGroup--metrics,
body.scanner-ui .scanner-matchSettingsModal__toolbar .scanner-matchToolbarGroup--volumes {
  grid-column: 1 / -1;
}

@media (max-width: 720px) {
  body.scanner-ui .scanner-matchSettingsModal {
    width: min(640px, calc(100vw - 16px));
  }

  body.scanner-ui .scanner-matchSettingsModal .help-modal__header {
    padding-right: 42px;
  }

  body.scanner-ui .scanner-matchSettingsModal .help-modal__close {
    top: -13px;
    right: -7px;
    width: 40px;
    height: 40px;
    font-size: 30px;
  }

  body.scanner-ui .scanner-matchSettingsModal__toolbar {
    grid-template-columns: 1fr;
    row-gap: 9px;
  }

  body.scanner-ui .scanner-matchSettingsModal__toolbar .scanner-matchToolbarGroup {
    grid-column: 1 / -1;
    grid-row: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 6px;
    width: 100%;
  }

  body.scanner-ui .scanner-matchSettingsModal__toolbar .summary-toolbar__label {
    width: 100%;
  }

  body.scanner-ui .scanner-matchSettingsModal__toolbar .summary-toolbar__buttons {
    width: 100%;
  }

  body.scanner-ui .scanner-matchSettingsModal__toolbar .summary-toolbar__buttons > .seg-btn {
    min-height: 32px;
    white-space: nowrap;
  }

  body.scanner-ui .scanner-matchSettingsModal__toolbar .summary-cut__digit {
    font-size: 16px;
  }
}

body.scanner-ui :where(#root) .scanner-branchTitleRow {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}

body.scanner-ui :where(#root) .scanner-branchTitleRow .scanner-branchTitle {
  min-width: 0;
}

body.scanner-ui :where(#root) .scanner-branchCard__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

body.scanner-ui :where(#root) .scanner-branchAlertBtn {
  min-height: 34px;
  padding: 7px 12px;
  border-color: rgba(96, 165, 250, 0.38);
  color: #d8e7ff;
  background: rgba(20, 35, 62, 0.78);
  box-shadow: none;
}

body.scanner-ui :where(#root) .scanner-branchAlertBtn:hover {
  border-color: rgba(96, 165, 250, 0.7);
  background: rgba(37, 63, 105, 0.9);
}

body.scanner-ui :where(#root) .scanner-branchAlertBtn.is-active {
  border-color: rgba(34, 197, 94, 0.48);
  background: rgba(21, 128, 61, 0.24);
  color: #bbf7d0;
}

body.scanner-ui :where(#root) .scanner-branchAlertBtn--inline {
  min-height: 30px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.2;
}

body.scanner-ui :where(#root) .scanner-alertSettingsDialog {
  width: min(640px, calc(100vw - 28px));
  max-height: min(760px, calc(100dvh - 28px));
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.scanner-ui :where(#root) .scanner-alertSettingsBackdrop {
  z-index: 7200;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}

body.scanner-ui :where(#root) .scanner-alertSettingsDialog .scanner-modalHeader {
  flex: 0 0 auto;
  padding: 18px 20px 12px;
  border-bottom: 1px solid rgba(96, 165, 250, 0.14);
}

body.scanner-ui :where(#root) .scanner-alertSettingsDialog .scanner-modalActions {
  flex: 0 0 auto;
  margin-top: 0 !important;
  padding: 12px 20px 16px;
  border-top: 1px solid rgba(96, 165, 250, 0.14);
  background: rgba(22, 34, 54, 0.98);
}

body.scanner-ui :where(#root) .scanner-alertSettingsDialog__subtitle {
  margin-top: 4px;
  color: #9fb0c8;
  font-size: 13px;
  line-height: 1.35;
}

body.scanner-ui :where(#root) .scanner-alertSettingsDialog__body {
  display: grid;
  gap: 14px;
  margin-top: 0;
  padding: 14px 20px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(96, 165, 250, 0.55) rgba(15, 23, 42, 0.5);
}

body.scanner-ui :where(#root) .scanner-alertSettingsDialog__body::-webkit-scrollbar {
  width: 8px;
}

body.scanner-ui :where(#root) .scanner-alertSettingsDialog__body::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.5);
  border-radius: 999px;
}

body.scanner-ui :where(#root) .scanner-alertSettingsDialog__body::-webkit-scrollbar-thumb {
  background: rgba(96, 165, 250, 0.55);
  border-radius: 999px;
}

body.scanner-ui :where(#root) .scanner-alertSwitch {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.64);
  cursor: pointer;
}

body.scanner-ui :where(#root) .scanner-alertChannelPanel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(96, 165, 250, 0.26);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.66);
  color: #d8e7ff;
}

body.scanner-ui :where(#root) .scanner-alertChannelPanel.is-verified {
  border-color: rgba(34, 197, 94, 0.34);
  background: rgba(15, 42, 31, 0.46);
}

body.scanner-ui :where(#root) .scanner-alertChannelPanel.is-verified > p:first-of-type {
  position: relative;
  display: block;
  padding: 12px 98px 12px 12px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 12px;
  background: rgba(16, 64, 42, 0.28);
  color: #afbed3;
}

body.scanner-ui :where(#root) .scanner-alertChannelPanel.is-verified > p:first-of-type::before {
  content: "Email";
  display: block;
  margin: 0 0 8px;
  color: #e5eefc;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

body.scanner-ui :where(#root) .scanner-alertChannelPanel.is-verified > p:first-of-type::after {
  content: "\043F\043E\0434\043A\043B\044E\0447\0451\043D";
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.16);
  color: #bfdbfe;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

body.scanner-ui :where(#root) .scanner-alertChannelPanel.is-verified > p:first-of-type b {
  color: #d8e7ff;
  font-weight: 800;
  overflow-wrap: anywhere;
}

body.scanner-ui :where(#root) .scanner-alertTelegramPanel {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.42);
}

body.scanner-ui :where(#root) .scanner-alertTelegramPanel.is-verified {
  border-color: rgba(34, 197, 94, 0.28);
  background: rgba(16, 64, 42, 0.28);
}

body.scanner-ui :where(#root) .scanner-alertChannelPanel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body.scanner-ui :where(#root) .scanner-alertChannelPanel__head strong {
  font-size: 14px;
  line-height: 1.25;
}

body.scanner-ui :where(#root) .scanner-alertChannelPanel__head span {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.24);
  background: rgba(37, 99, 235, 0.16);
  color: #bfdbfe;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

body.scanner-ui :where(#root) .scanner-alertChannelPanel p {
  margin: 0;
  color: #afbed3;
  font-size: 12px;
  line-height: 1.45;
}

body.scanner-ui :where(#root) .scanner-alertChannelPanel__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 88px auto;
  gap: 8px;
  align-items: center;
}

body.scanner-ui :where(#root) .scanner-alertChannelPanel__form button,
body.scanner-ui :where(#root) .scanner-alertChannelPanel__link {
  min-height: 38px;
  white-space: nowrap;
}

body.scanner-ui :where(#root) .scanner-alertChannelPanel__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid rgba(96, 165, 250, 0.38);
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.16);
  color: #dbeafe;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.2);
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

body.scanner-ui :where(#root) .scanner-alertChannelPanel__link:hover,
body.scanner-ui :where(#root) .scanner-alertChannelPanel__link:focus-visible {
  border-color: rgba(96, 165, 250, 0.68);
  background: rgba(37, 99, 235, 0.28);
  color: #ffffff;
  outline: none;
}

body.scanner-ui :where(#root) .scanner-alertChannelPanel__code {
  text-align: center;
  letter-spacing: 0;
}

body.scanner-ui :where(#root) .scanner-alertChannelPanel__service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #c7d2fe;
  font-size: 12px;
  line-height: 1.35;
}

body.scanner-ui :where(#root) .scanner-alertChannelPanel__telegramActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

body.scanner-ui :where(#root) .scanner-alertChannelPanel__message {
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.35;
}

body.scanner-ui :where(#root) .scanner-alertChannelPanel__message.is-success {
  border: 1px solid rgba(34, 197, 94, 0.28);
  background: rgba(22, 101, 52, 0.24);
  color: #bbf7d0;
}

body.scanner-ui :where(#root) .scanner-alertChannelPanel__message.is-error {
  border: 1px solid rgba(248, 113, 113, 0.28);
  background: rgba(127, 29, 29, 0.22);
  color: #fecaca;
}

body.scanner-ui :where(#root) .scanner-alertSwitch.is-disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

body.scanner-ui :where(#root) .scanner-alertSwitch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body.scanner-ui :where(#root) .scanner-alertSwitch__control {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.42);
  background: rgba(15, 23, 42, 0.95);
  position: relative;
  transition: background 0.18s ease, border-color 0.18s ease;
}

body.scanner-ui :where(#root) .scanner-alertSwitch__control::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #d8e7ff;
  transition: transform 0.18s ease;
}

body.scanner-ui :where(#root) .scanner-alertSwitch input:checked + .scanner-alertSwitch__control {
  border-color: rgba(34, 197, 94, 0.68);
  background: rgba(34, 197, 94, 0.32);
}

body.scanner-ui :where(#root) .scanner-alertSwitch input:checked + .scanner-alertSwitch__control::after {
  transform: translateX(20px);
  background: #bbf7d0;
}

body.scanner-ui :where(#root) .scanner-alertSwitch__text {
  display: grid;
  gap: 4px;
  color: #e5eefc;
  min-width: 0;
}

body.scanner-ui :where(#root) .scanner-alertSwitch__text small {
  color: #9fb0c8;
  font-size: 12px;
  line-height: 1.45;
}

body.scanner-ui :where(#root) .scanner-alertChannelChoices {
  display: grid;
  gap: 8px;
}

body.scanner-ui :where(#root) .scanner-alertChannelChoice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.42);
  color: #e5eefc;
  cursor: pointer;
}

body.scanner-ui :where(#root) .scanner-alertChannelChoice.is-disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

body.scanner-ui :where(#root) .scanner-alertChannelChoice input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #2563eb;
}

body.scanner-ui :where(#root) .scanner-alertChannelChoice span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body.scanner-ui :where(#root) .scanner-alertChannelChoice strong {
  font-size: 13px;
  line-height: 1.25;
}

body.scanner-ui :where(#root) .scanner-alertChannelChoice small {
  color: #9fb0c8;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

body.scanner-ui :where(#root) .scanner-alertSettingsDialog__field {
  display: grid;
  gap: 6px;
}

body.scanner-ui :where(#root) .scanner-alertSettingsDialog__note {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background: rgba(30, 41, 59, 0.54);
  color: #b8c7dc;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  body.scanner-ui :where(#root) .scanner-alertSettingsBackdrop {
    align-items: flex-start;
    padding: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom));
  }

  body.scanner-ui :where(#root) .scanner-alertSettingsDialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    border-radius: 16px;
  }

  body.scanner-ui :where(#root) .scanner-alertSettingsDialog .scanner-modalHeader {
    padding: 14px 14px 10px;
  }

  body.scanner-ui :where(#root) .scanner-alertSettingsDialog__body {
    gap: 12px;
    padding: 12px 14px;
  }

  body.scanner-ui :where(#root) .scanner-alertSettingsDialog .scanner-modalActions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 14px max(12px, env(safe-area-inset-bottom));
  }

  body.scanner-ui :where(#root) .scanner-alertSettingsDialog .scanner-modalActions > * {
    width: 100%;
    justify-content: center;
  }

  body.scanner-ui :where(#root) .scanner-branchTitleRow {
    gap: 8px;
  }

  body.scanner-ui :where(#root) .scanner-branchAlertBtn--inline {
    width: 100%;
    justify-content: center;
  }

  body.scanner-ui :where(#root) .scanner-branchCard__actions .scanner-branchAlertBtn,
  body.scanner-ui :where(#root) .scanner-branchCard__actions .scanner-applyBtn {
    width: 100%;
    justify-content: center;
  }

  body.scanner-ui :where(#root) .scanner-alertSwitch {
    grid-template-columns: 1fr;
  }

  body.scanner-ui :where(#root) .scanner-alertChannelPanel__head,
  body.scanner-ui :where(#root) .scanner-alertChannelPanel__service {
    align-items: flex-start;
    flex-direction: column;
  }

  body.scanner-ui :where(#root) .scanner-alertChannelPanel__form {
    grid-template-columns: 1fr;
  }

  body.scanner-ui :where(#root) .scanner-alertChannelPanel__form button,
  body.scanner-ui :where(#root) .scanner-alertChannelPanel__link {
    width: 100%;
    justify-content: center;
  }

  body.scanner-ui :where(#root) .scanner-alertChannelPanel__telegramActions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
/* Mobile match view: calendar, disclosure, search, pagination, cards. */
@media (max-width: 900px) {
  /* Reusable blur layer: add scanner-mobileBlurLayer to an open mobile dialog or its backdrop. */
  body.scanner-ui:has(.scanner-mobileBlurLayer)::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 900;
    background: rgba(2, 6, 23, .01);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    pointer-events: none;
  }

  /* Nested overlays use a sibling backdrop so their own contents stay sharp. */
  body.scanner-ui .scanner-mobileBlurBackdrop {
    position: fixed;
    inset: 0;
    z-index: 1999;
    background: rgba(2, 6, 23, .01);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    pointer-events: none;
  }

  body.scanner-ui:has(.scanner-mobileBlurBackdrop) .scanner-mobileSectionSwitch {
    z-index: 0 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  body.app-shell.scanner-shell #root .scanner-mobileViewSettings .cards-menu,
  body.app-shell.scanner-shell .scanner-matchSettingsModal .cards-menu[role="dialog"] {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    box-sizing: border-box;
    width: min(304px, calc(100vw - 40px)) !important;
    min-width: 0 !important;
    max-width: min(304px, calc(100vw - 40px)) !important;
    max-height: calc(100dvh - 32px) !important;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(43, 58, 87, .92);
    background: rgba(16, 23, 38, .98);
    box-shadow: 0 0 0 100vmax rgba(2, 6, 23, .38), 0 18px 40px rgba(2, 6, 23, .52);
    overflow-y: auto !important;
    overscroll-behavior: contain;
    z-index: 10000 !important;
  }
  body.app-shell.scanner-shell :is(#root .scanner-mobileViewSettings, .scanner-matchSettingsModal) .cards-menu__list {
    gap: 6px;
  }

  body.app-shell.scanner-shell :is(#root .scanner-mobileViewSettings, .scanner-matchSettingsModal) .cards-menu__item {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 44px;
    padding: 8px 12px;
    gap: 12px;
    border: 1px solid #2b3a57;
    border-radius: 8px;
    background: #101726;
    cursor: pointer;
  }

  body.app-shell.scanner-shell :is(#root .scanner-mobileViewSettings, .scanner-matchSettingsModal) .cards-menu__checkbox {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    margin: 0;
  }

  body.app-shell.scanner-shell :is(#root .scanner-mobileViewSettings, .scanner-matchSettingsModal) .cards-menu__name {
    font-size: 15px;
    line-height: 1.3;
  }

  html[data-theme="light"] body.app-shell.scanner-shell :is(#root .scanner-mobileViewSettings, .scanner-matchSettingsModal) .cards-menu__item {
    border-color: #cbd5e1;
    background: #f8fafc;
  }

  html[data-theme="light"] body.app-shell.scanner-shell #root .scanner-mobileViewSettings .cards-menu,
  html[data-theme="light"] body.app-shell.scanner-shell .scanner-matchSettingsModal .cards-menu {
    background: #fff;
    color: #17335e;
  }
  body.scanner-ui :where(#root) .scanner-mobileViewSettings .scanner-matchWindowControl {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 6px;
    margin: 0;
    padding: 0;
  }
  body.scanner-ui :where(#root) .scanner-mobileViewSettings .scanner-matchWindowLabel {
    display: block;
    margin: 0;
    padding-left: 6px;
  }
  body.scanner-ui :where(#root) .scanner-mobileViewSettings .scanner-matchWindowBtn {
    justify-self: start;
    margin: 0;
  }
  body.scanner-ui :where(#root) .scanner-mobileViewSettings .seg-btn:not(#tour-match-sort .seg-btn) {
    width: 110px !important;
    min-width: 110px !important;
    max-width: 110px !important;
    flex: 0 0 110px !important;
  }
  body.scanner-ui :where(#root) .scanner-mobileViewSettings :has(> :nth-child(5 of .seg-btn)):not(:has(> :nth-child(6 of .seg-btn))) > .seg-btn:not(#tour-match-sort .seg-btn) {
    width: 65px !important;
    min-width: 65px !important;
    max-width: 65px !important;
    flex: 0 0 65px !important;
  }
  body.scanner-ui :where(#root) .summary-toolbar--block {
    border-top: 0 !important;
  }
  body.scanner-ui :where(#root) .scanner-mobileViewSettings__content > .summary-toolbar__label:first-child {
    border-top: 1px solid #2a3c58;
    padding-top: 2px;
  }
  body.app-shell.scanner-ui > .page-main {
    padding: 6px 6px 24px !important;
  }
  body.scanner-ui :where(#root) .scanner-flex {
    padding-top: 0 !important;
  }
  body.scanner-ui :where(#root) #tour-match-day > .summary-toolbar__label {
    display: none !important;
  }
  body.scanner-ui :where(#root) .scanner-panel {
    padding: 0 !important;
  }
  body.scanner-ui :where(#root) .scanner-mobileViewSettings {
    min-width: 0;
    margin: 0;
    border: 1px solid var(--border, #304562);
    border-radius: 8px;
  }
  body.scanner-ui :where(#root) .scanner-mobileViewSettings > summary {
    padding: 10px 12px;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    height: 44px;
    box-sizing: border-box;
    line-height: 24px;
  }
  body.scanner-ui :where(#root) .scanner-mobileViewSettings__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 0 10px 10px;
  }
  body.scanner-ui :where(#root) .scanner-mobileViewSettings .scanner-panel__headActions,
  body.scanner-ui :where(#root) .scanner-mobileViewSettings #tour-match-mode {
    flex-wrap: wrap;
  }
}
/* Mobile pagination: centered controls above the centered match count. */
@media (max-width: 900px) {
  body.scanner-ui :where(#root) .scanner-matchPagination {
    justify-content: center;
    padding: 0 !important;
  }
  body.scanner-ui :where(#root) .scanner-matchList {
    margin-top: 0 !important;
  }
  body.scanner-ui :where(#root) .scanner-search {
    margin-bottom: 0 !important;
  }
  body.scanner-ui :where(#root) .scanner-matchPagination > .muted:first-child {
    order: 1;
    flex: 0 0 100% !important;
    text-align: center;
  }
  body.scanner-ui :where(#root) .scanner-matchPagination > .scanner-matchPagination__loading {
    order: 2;
  }

  body.scanner-ui #tour-filters-timezone button[aria-haspopup="dialog"]::after,
  body.scanner-ui #tour-filters-obmode button[aria-haspopup="dialog"]::after {
    content: "▾";
    display: inline-block;
    margin-left: 6px;
    flex-shrink: 0;
  }

  body.scanner-ui #root .scanner-flex--mobileSections :is(
    #tour-filters-day, #tour-filters-timezone, #tour-filters-time,
    #tour-filters-subtabs, #tour-filters-outcome, #tour-filters-cut,
    #tour-filters-kfpoint, #tour-filters-ranges, #tour-filters-condition-mode
  ) :is(button.seg-btn, button.scanner-dateBtn, button.scanner-helpBtn, button.scanner-outcomeSelect, input:not([type="checkbox"]), select):not(.scanner-dropdown *),
  body.scanner-ui #root .scanner-flex--mobileSections .scanner-panel:has(#tour-filters-day) .scanner-prematchWindowMenu > button {
    box-sizing: border-box;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections #tour-filters-ranges .scanner-numWrap,
  body.scanner-ui #root .scanner-flex--mobileSections #tour-filters-ranges .scanner-spin {
    height: 44px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections #tour-filters-ranges .scanner-spinBtn {
    height: 22px !important;
    min-height: 0 !important;
    max-height: 22px !important;
  }

  /* Mobile filter control widths match the match-view settings. */
  body.scanner-ui #root .scanner-flex--mobileSections :is(
    #tour-filters-timezone, #tour-filters-time, #tour-filters-subtabs,
    #tour-filters-outcome, #tour-filters-cut, #tour-filters-kfpoint,
    #tour-filters-condition-mode
  ) > .scanner-row__btns > .seg-btn,
  body.scanner-ui #root .scanner-flex--mobileSections .scanner-panel:has(#tour-filters-day) .scanner-prematchWindowMenu > .seg-btn {
    width: 110px !important;
    min-width: 110px !important;
    max-width: 110px !important;
    flex: 0 0 110px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections :is(
    #tour-filters-time, #tour-filters-subtabs, #tour-filters-outcome,
    #tour-filters-cut, #tour-filters-kfpoint, #tour-filters-condition-mode
  ) > .scanner-row__btns:has(> :nth-child(5 of .seg-btn)) > .seg-btn {
    width: 65px !important;
    min-width: 65px !important;
    max-width: 65px !important;
    flex: 0 0 65px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections #tour-filters-timezone > .scanner-row__btns > button {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections #tour-filters-cut > .scanner-row__btns > :is(.seg-btn, .scanner-preko-num) {
    width: 65px !important;
    min-width: 65px !important;
    max-width: 65px !important;
    flex: 0 0 65px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections #tour-filters-ranges .scanner-row:has(#tour-filters-obmode) .scanner-range {
    display: flex;
    flex-wrap: wrap;
  }

  body.scanner-ui #root .scanner-flex--mobileSections #tour-filters-ranges .scanner-row:has(#tour-filters-obmode) .scanner-numWrap {
    width: clamp(65px, calc((100% - 96px) / 2), 110px);
    min-width: 65px;
    max-width: 110px;
    flex: 0 1 clamp(65px, calc((100% - 96px) / 2), 110px);
  }

  body.scanner-ui #root .scanner-flex--mobileSections #tour-filters-ranges .scanner-row:has(#tour-filters-obmode) .scanner-range__dash {
    width: 12px;
    text-align: center;
    flex: 0 0 12px;
  }

  body.scanner-ui #root .scanner-flex--mobileSections #tour-filters-obmode {
    width: 66px;
    min-width: 66px;
    max-width: 66px;
    flex: 0 0 66px;
  }

  /* Filter headings follow the mobile match-view heading/control layout. */
  body.scanner-ui #root .scanner-flex--mobileSections :is(
    #tour-filters-day, #tour-filters-timezone, #tour-filters-time,
    #tour-filters-outcome, #tour-filters-cut, #tour-filters-kfpoint,
    #tour-filters-condition-mode,
    .scanner-panel:has(#tour-filters-day) .scanner-row:has(> .scanner-row__btns > .scanner-prematchWindowMenu)
  ) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 6px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections :is(
    #tour-filters-day, #tour-filters-timezone, #tour-filters-time,
    #tour-filters-outcome, #tour-filters-cut, #tour-filters-kfpoint,
    #tour-filters-condition-mode,
    .scanner-panel:has(#tour-filters-day) .scanner-row:has(> .scanner-row__btns > .scanner-prematchWindowMenu)
  ) > .scanner-row__label {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding-left: 6px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections :is(
    #tour-filters-day, #tour-filters-timezone, #tour-filters-time,
    #tour-filters-outcome, #tour-filters-cut, #tour-filters-kfpoint,
    #tour-filters-condition-mode,
    .scanner-panel:has(#tour-filters-day) .scanner-row:has(> .scanner-row__btns > .scanner-prematchWindowMenu)
  ) > .scanner-row__btns {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: flex-start !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-panel:has(#tour-filters-subtabs) div:has(+ .scanner-sectionTitle) {
    height: 1px !important;
    background: rgba(148, 163, 184, 0.16) !important;
    margin: 6px 0 !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-sectionTitle:has(+ #tour-results-tab) {
    display: none !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections #tour-filters-subtabs {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 6px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections #tour-filters-subtabs > .scanner-row__label {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding-left: 6px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections #tour-filters-subtabs > .scanner-row__label::before {
    content: "Фильтр матчей по значениям:";
  }

  body.scanner-ui #root .scanner-flex--mobileSections #tour-results-tab:has(.scanner-row__btns > .seg-btn:only-child) {
    display: none !important;
  }

  body.scanner-ui #root .scanner-kfTabAction {
    margin-left: 0;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-panel--leagues #tour-leagues-day :is(.scanner-dateBtn__icon, .seg-btn--nav),
  body.scanner-ui #root .scanner-flex--mobileSections #tour-filters-day :is(.scanner-dateBtn__icon, .seg-btn--nav),
  body.scanner-ui #root .scanner-flex--mobileSections .scanner-panel--cards #tour-match-day :is(.scanner-dateBtn__icon, .seg-btn--nav) {
    font-size: 18px !important;
  }

  /* Mobile leagues use the same heading/control rhythm as filters and match view. */
  body.scanner-ui #root .scanner-flex--mobileSections .scanner-panel--leagues :is(
    #tour-leagues-day,
    #tour-leagues-time,
    #tour-leagues-outcomes,
    #tour-leagues-volume,
    #tour-leagues-group,
    #tour-leagues-sort
  ) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 6px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-panel--leagues :is(
    #tour-leagues-day,
    #tour-leagues-time,
    #tour-leagues-outcomes,
    #tour-leagues-volume,
    #tour-leagues-group,
    #tour-leagues-sort
  ) > .scanner-row__label {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding-left: 6px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-panel--leagues :is(
    #tour-leagues-day,
    #tour-leagues-time,
    #tour-leagues-outcomes,
    #tour-leagues-volume,
    #tour-leagues-group,
    #tour-leagues-sort
  ) > .scanner-row__btns {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: flex-start !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-panel--leagues :is(
    #tour-leagues-time,
    #tour-leagues-volume,
    #tour-leagues-group
  ) .scanner-row__btns .seg-btn {
    width: 110px !important;
    min-width: 110px !important;
    max-width: 110px !important;
    flex: 0 0 110px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-panel--leagues :is(
    #tour-leagues-outcomes,
    #tour-leagues-sort
  ) .scanner-row__btns .seg-btn {
    width: 65px !important;
    min-width: 65px !important;
    max-width: 65px !important;
    flex: 0 0 65px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-panel--leagues :is(
    #tour-leagues-time,
    #tour-leagues-outcomes,
    #tour-leagues-volume,
    #tour-leagues-group,
    #tour-leagues-sort
  ) .scanner-row__btns .seg-btn,
  body.scanner-ui #root .scanner-flex--mobileSections .scanner-panel--leagues #tour-leagues-favorites .seg-btn,
  body.scanner-ui #root .scanner-flex--mobileSections .scanner-panel--leagues #tour-leagues-day :is(.scanner-dateBtn, .seg-btn--nav) {
    box-sizing: border-box;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-panel--leagues #tour-leagues-favorites .seg-btn {
    width: 110px !important;
    min-width: 110px !important;
    max-width: 110px !important;
    flex: 0 0 110px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-panel--leagues #tour-leagues-day > .scanner-row__btns {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px 44px !important;
    gap: 6px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-panel--leagues #tour-leagues-day .scanner-dateWrap,
  body.scanner-ui #root .scanner-flex--mobileSections .scanner-panel--leagues #tour-leagues-day .scanner-dateBtn {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-panel--leagues #tour-leagues-day .seg-btn--nav {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-panel--leagues .scanner-row:has(> .scanner-row__btns > .scanner-prematchWindowMenu) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 6px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-panel--leagues .scanner-row:has(> .scanner-row__btns > .scanner-prematchWindowMenu) > .scanner-row__label {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding-left: 6px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-panel--leagues .scanner-row:has(> .scanner-row__btns > .scanner-prematchWindowMenu) > .scanner-row__btns {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: flex-start !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-panel--leagues .scanner-prematchWindowMenu > .seg-btn {
    box-sizing: border-box;
    width: 110px !important;
    min-width: 110px !important;
    max-width: 110px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    flex: 0 0 110px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-resultBox {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections #tour-results-mode {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 6px !important;
    margin-top: 0 !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections #tour-results-mode > .scanner-row__label {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding-left: 6px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections #tour-results-mode > .scanner-row__btns {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: flex-start !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections #tour-results-mode > .scanner-row__btns > .seg-btn {
    box-sizing: border-box;
    width: 110px !important;
    min-width: 110px !important;
    max-width: 110px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    flex: 0 0 110px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections #tour-results-mode > .scanner-row__btns > div[style] {
    display: none !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-resultBody {
    margin-top: 10px !important;
    gap: 10px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-resultPeriodTitle {
    margin: 0 0 6px !important;
    padding-left: 6px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-resultRow {
    display: grid !important;
    grid-template-columns: 110px minmax(0, 1fr) !important;
    align-items: stretch !important;
    column-gap: 6px !important;
    width: 100% !important;
    margin-top: 6px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-resultRowLabel {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 110px !important;
    min-width: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-resultRowLabel::after {
    content: ":";
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-resultRowInputs {
    display: grid !important;
    grid-template-columns: minmax(65px, 110px) 12px minmax(65px, 110px) !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-resultRowInputs .scanner-numWrap {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    margin: 0 !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-resultRowInputs .scanner-numWrap input.scanner-num {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 5px 36px 5px 10px !important;
    font-size: 11px !important;
    text-align: center !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-resultRowInputs .scanner-spin {
    width: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-resultRowInputs .scanner-spinBtn {
    height: 22px !important;
    min-height: 0 !important;
    max-height: 22px !important;
  }

  body.scanner-ui #root .scanner-flex--mobileSections .scanner-resultDash {
    width: 12px !important;
    text-align: center !important;
  }

}
