.match-preview-layer[hidden] {
  display: none !important;
}

.match-preview-layer {
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 1085;
}

.match-preview-layer__backdrop {
  display: none;
}

.match-preview-panel {
  --match-preview-panel-left: 1rem;
  --match-preview-panel-top: calc(var(--site-navbar-height) + 1rem);
  --match-preview-panel-width: min(72rem, calc(100vw - 2rem));

  background: #091525;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 0.85rem;
  box-shadow: 0 1.75rem 5rem rgba(0, 0, 0, 0.48);
  color: #e7eef9;
  display: flex;
  flex-direction: column;
  left: var(--match-preview-panel-left);
  max-height: min(52rem, calc(100vh - var(--match-preview-panel-top) - 1rem));
  outline: 0;
  overflow: hidden;
  pointer-events: auto;
  position: fixed;
  top: var(--match-preview-panel-top);
  width: var(--match-preview-panel-width);
}

.match-preview-layer--mobile .match-preview-panel {
  overscroll-behavior-x: contain;
  touch-action: pan-y pinch-zoom;
}

.match-preview-layer--mobile [data-match-preview-swipe-surface] {
  touch-action: none;
  touch-action: pinch-zoom;
}

.match-preview-panel--swiping {
  user-select: none;
  -webkit-user-select: none;
}

.match-preview-panel__chrome {
  align-items: center;
  background: linear-gradient(180deg, rgba(26, 49, 76, 0.98), rgba(13, 31, 51, 0.98));
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  display: flex;
  flex: 0 0 auto;
  justify-content: space-between;
  min-height: 2.75rem;
  padding: 0.45rem 0.55rem 0.45rem 0.9rem;
}

.match-preview-panel__chrome-title {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  text-align: left;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.match-preview-panel__close {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.45rem;
  color: inherit;
  display: inline-flex;
  font: inherit;
  font-size: 1.35rem;
  height: 2rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 2rem;
}

.match-preview-panel__close:hover,
.match-preview-panel__close:focus-visible {
  background: rgba(255, 255, 255, 0.13);
  outline: 2px solid rgba(96, 165, 250, 0.72);
  outline-offset: 1px;
}

.match-preview-panel__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}

.match-preview-loading,
.match-preview-empty {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  min-height: 18rem;
  padding: 2rem;
  text-align: center;
}

.match-preview-loading__spinner {
  animation: match-preview-spin 0.8s linear infinite;
  border: 3px solid rgba(148, 163, 184, 0.24);
  border-radius: 50%;
  border-top-color: #60a5fa;
  height: 2.25rem;
  width: 2.25rem;
}

.match-preview-empty__icon {
  align-items: center;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.36);
  border-radius: 999px;
  color: #fbbf24;
  display: flex;
  font-size: 1.2rem;
  font-weight: 900;
  height: 2.6rem;
  justify-content: center;
  width: 2.6rem;
}

.match-preview-empty h2,
.match-preview-empty p {
  margin: 0;
}

.match-preview {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.10), transparent 25rem),
    #091525;
  min-height: 100%;
  padding: 0.85rem;
}

.match-preview__header {
  background: rgba(9, 26, 45, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.20);
  border-radius: 0.7rem;
  isolation: isolate;
  margin-bottom: 0.75rem;
  overflow: hidden;
  padding: 0.65rem 0.8rem;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.match-preview__header::after {
  background: rgba(34, 197, 94, 0.14);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.match-preview__header > * {
  position: relative;
  z-index: 1;
}

.match-preview__freshness,
.match-preview-section__title-row,
.match-preview-team__header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.match-preview__eyebrow {
  align-items: center;
  color: rgba(226, 232, 240, 0.70);
  display: grid;
  font-size: 0.68rem;
  font-weight: 800;
  gap: 0.45rem;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.match-preview__eyebrow > :first-child {
  justify-self: start;
  min-width: 0;
}

.match-preview__status {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  justify-self: end;
  padding: 0.16rem 0.48rem;
  white-space: nowrap;
}

.match-preview__status--live {
  background: rgba(220, 38, 38, 0.18);
  border-color: rgba(248, 113, 113, 0.48);
  color: #fecaca;
}

.match-preview__status--scheduled,
.match-preview__status--started {
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(96, 165, 250, 0.45);
  color: #bfdbfe;
}

.match-preview__matchup {
  align-items: center;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  margin-top: 0.55rem;
}

.match-preview__header-team {
  align-items: center;
  display: flex;
  gap: 0.55rem;
  min-width: 0;
}

.match-preview__header-team--guest {
  flex-direction: row-reverse;
  text-align: right;
}

.match-preview__header-team strong,
.match-preview__header-team small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-preview__header-team strong {
  font-size: 1rem;
}

.match-preview__header-team small {
  color: rgba(226, 232, 240, 0.66);
  font-size: 0.68rem;
  margin-top: 0.1rem;
}

.match-preview__header-flag {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 0.28rem;
  display: flex;
  flex: 0 0 auto;
  font-size: 0.58rem;
  font-weight: 850;
  justify-content: center;
  overflow: hidden;
  width: 3.4rem;
}

.match-preview__header-flag img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.match-preview__kickoff {
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.68rem;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

.match-preview__kickoff strong,
.match-preview__kickoff span {
  display: block;
}

.match-preview__kickoff strong {
  color: #f8fafc;
  font-size: 0.88rem;
}

.match-preview-prediction {
  margin-top: 0.28rem;
}

.match-preview-prediction__controls {
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-inline: auto;
  max-width: 26rem;
  min-height: 4.35rem;
  position: relative;
  width: 100%;
}

.match-preview-score-control {
  align-items: center;
  align-self: center;
  column-gap: 0.2rem;
  display: grid;
  grid-row: 1;
  grid-template-areas: "minus value plus";
  grid-template-columns: 1.55rem minmax(2rem, max-content) 1.55rem;
  justify-content: center;
  justify-self: center;
  min-width: 0;
  position: relative;
  width: clamp(6.5rem, 27cqi, 8rem);
  z-index: 3;
}

.match-preview-score-control--home {
  grid-column: 1 / 3;
}

.match-preview-score-control--guest {
  grid-column: 2 / 4;
}

.match-preview-score-control__value {
  align-items: center;
  background: transparent;
  border: 0;
  color: #f8fafc;
  display: flex;
  font: 900 clamp(3.4rem, 14cqi, 4rem)/0.9 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  grid-area: value;
  justify-content: center;
  min-width: 1ch;
  padding: 0.05rem;
  position: relative;
  z-index: 1;
}

.match-preview-score-control__buttons {
  display: contents;
}

.match-preview-score-control__button {
  -webkit-tap-highlight-color: transparent;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: rgba(219, 234, 254, 0.76);
  display: flex;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 850;
  line-height: 1;
  height: 1.55rem;
  justify-content: center;
  opacity: 0.84;
  padding: 0;
  position: relative;
  transition: color 0.12s ease, opacity 0.2s ease, transform 0.08s ease;
  width: 1.55rem;
}

.match-preview-score-control__button::after {
  content: "";
  inset: -0.32rem;
  position: absolute;
}

.match-preview-score-control__button:first-child {
  grid-area: minus;
}

.match-preview-score-control__button:last-child {
  grid-area: plus;
}

.match-preview-score-control__button:hover:not(:disabled),
.match-preview-score-control__button:focus-visible:not(:disabled) {
  color: #fff;
  outline: 0;
  text-shadow: 0 0 0.45rem rgba(147, 197, 253, 0.72);
}

.match-preview-score-control__button:active:not(:disabled) {
  color: #7dd3fc;
  transform: scale(0.88);
}

.match-preview-score-control__button:disabled {
  cursor: not-allowed;
  opacity: 0.28;
}

.match-preview-score-control__touch-wheel,
.match-preview-prediction__scrub-zone {
  display: none;
}

.match-preview-score-control.is-scrubbing .match-preview-score-control__value {
  visibility: hidden;
}

.match-preview-score-control.is-scrubbing .match-preview-score-control__button {
  opacity: 0;
}

.match-preview-score-control.is-scrubbing .match-preview-score-control__touch-wheel {
  align-items: center;
  display: grid;
  grid-template-columns: repeat(3, 2.5rem);
  height: 4.15rem;
  inset-inline-start: 50%;
  justify-items: center;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(calc(-50% + var(--bet-score-scrub-offset, 0px)), -50%);
  transition: transform 70ms linear;
  width: 7.5rem;
  z-index: 4;
}

.match-preview-score-control__touch-wheel span,
.match-preview-score-control__touch-wheel strong {
  align-items: center;
  display: flex;
  height: 4.15rem;
  justify-content: center;
  line-height: 1;
}

.match-preview-score-control__touch-wheel span {
  color: rgba(219, 234, 254, 0.46);
  font: 800 1rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.match-preview-score-control__touch-wheel strong {
  color: #fff;
  font: 900 3.4rem/0.9 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.match-preview-prediction__status {
  align-items: center;
  color: rgba(226, 232, 240, 0.58);
  display: flex;
  font-size: 0.61rem;
  gap: 0.35rem;
  grid-column: 2;
  grid-row: 1;
  justify-content: center;
  justify-self: center;
  letter-spacing: 0;
  line-height: 1.1;
  max-width: 9.5rem;
  min-width: 0;
  opacity: 1;
  text-align: center;
  text-transform: none;
  transition: color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.match-preview-prediction__status[data-state="idle"] {
  opacity: 0;
  pointer-events: none;
}

.match-preview-prediction__status > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-preview-prediction__status[data-state="pending"],
.match-preview-prediction__status[data-state="saving"] {
  color: #bfdbfe;
}

.match-preview-prediction__status[data-state="saved"] {
  color: #86efac;
}

.match-preview-prediction__status[data-state="error"] {
  color: #fca5a5;
}

.match-preview-prediction__retry {
  background: transparent;
  border: 0;
  color: #bfdbfe;
  flex: 0 0 auto;
  font: inherit;
  font-weight: 800;
  padding: 0;
  text-decoration: underline;
}

.match-preview__header.match-preview-prediction--save-success {
  border-color: rgba(74, 222, 128, 0.9);
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.2), 0 0.7rem 1.8rem rgba(0, 0, 0, 0.2);
}

.match-preview__header.match-preview-prediction--save-success::after {
  opacity: 1;
}

.match-preview-prediction--locked .match-preview-prediction {
  opacity: 0.78;
}

@media (any-pointer: coarse) {
  .match-preview-score-control__value,
  .match-preview-score-control__button,
  .match-preview-prediction__scrub-zone {
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
  }

  .match-preview-score-control__value {
    cursor: ew-resize;
  }

  .match-preview-prediction__scrub-zone {
    -webkit-tap-highlight-color: transparent;
    align-self: stretch;
    display: block;
    grid-column: 1 / -1;
    grid-row: 1;
    width: 48cqi;
    z-index: 2;
  }

  .match-preview-prediction__scrub-zone--home {
    justify-self: start;
  }

  .match-preview-prediction__scrub-zone--guest {
    justify-self: end;
  }
}

.match-preview__freshness {
  flex-wrap: wrap;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  color: rgba(226, 232, 240, 0.58);
  font-size: 0.62rem;
  gap: 0.65rem;
  margin-top: 0.55rem;
  padding-top: 0.45rem;
}

.match-preview__refresh {
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.36);
  border-radius: 0.35rem;
  color: #bfdbfe;
  font: inherit;
  font-size: 0.6rem;
  font-weight: 800;
  margin-left: auto;
  padding: 0.25rem 0.48rem;
}

.match-preview__refresh:hover,
.match-preview__refresh:focus-visible {
  background: rgba(59, 130, 246, 0.24);
  outline: 2px solid rgba(96, 165, 250, 0.66);
  outline-offset: 1px;
}

.match-preview__refresh:disabled {
  cursor: wait;
  opacity: 0.65;
}

.match-preview__teams {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.match-preview-team {
  background: rgba(11, 30, 50, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.20);
  border-radius: 0.7rem;
  min-width: 0;
  overflow: hidden;
}

.match-preview-team__header {
  background: linear-gradient(180deg, rgba(24, 48, 75, 0.96), rgba(14, 34, 56, 0.96));
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  padding: 0.48rem 0.65rem;
}

.match-preview-team__identity {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: 0.5rem;
  min-width: 0;
}

.match-preview-team__identity-copy {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
}

.match-preview-team__identity h3 {
  font-size: 0.9rem;
  line-height: 1.15;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-preview-team__flag {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 0.25rem;
  display: flex;
  flex: 0 0 auto;
  font-size: 0.52rem;
  font-weight: 850;
  justify-content: center;
  overflow: hidden;
  width: 2.85rem;
}

.match-preview-team__flag img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.match-preview-team__code {
  line-height: 1;
}

.match-preview-team__code {
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.match-preview-team__formation {
  color: rgba(226, 232, 240, 0.62);
  flex: 0 0 auto;
  font-size: 0.62rem;
  font-weight: 800;
  margin-left: 0.65rem;
  text-align: right;
  white-space: nowrap;
}

.match-preview-section {
  border-top: 1px solid rgba(148, 163, 184, 0.13);
  padding: 0.55rem;
}

.match-preview-section:first-of-type {
  border-top: 0;
}

.match-preview-section__title-row {
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.match-preview-section__title-row h4 {
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.match-preview-section__title-row span {
  color: rgba(226, 232, 240, 0.56);
  font-size: 0.6rem;
  text-align: right;
}

.match-preview-pitch {
  aspect-ratio: 0.82 / 1;
  background:
    repeating-linear-gradient(0deg, rgba(34, 116, 75, 0.82) 0 12.5%, rgba(28, 99, 65, 0.82) 12.5% 25%),
    #1c6b45;
  border: 1px solid rgba(187, 247, 208, 0.36);
  border-radius: 0.4rem;
  margin: 0 auto 0.55rem;
  max-height: 22rem;
  max-width: 18rem;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.match-preview-pitch__lines,
.match-preview-pitch__lines::before,
.match-preview-pitch__lines::after {
  border: 1px solid rgba(236, 253, 245, 0.45);
  content: "";
  pointer-events: none;
  position: absolute;
}

.match-preview-pitch__lines {
  inset: 4%;
}

.match-preview-pitch__lines::before {
  border-radius: 50%;
  height: 20%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 25%;
}

.match-preview-pitch__lines::after {
  border-left: 0;
  border-right: 0;
  left: 0;
  right: 0;
  top: 50%;
}

.match-preview-pitch__player {
  align-items: center;
  display: flex;
  flex-direction: column;
  left: var(--pitch-left);
  max-width: 4.8rem;
  position: absolute;
  text-align: center;
  top: var(--pitch-top);
  transform: translate(-50%, -50%);
  z-index: 2;
}

.match-preview-pitch__number {
  align-items: center;
  background: #102a45;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  box-shadow: 0 0.2rem 0.45rem rgba(0, 0, 0, 0.34);
  display: flex;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.63rem;
  font-weight: 900;
  height: 1.45rem;
  justify-content: center;
  width: 1.45rem;
}

.match-preview-pitch__name {
  background: rgba(5, 15, 27, 0.82);
  border-radius: 0.22rem;
  font-size: 0.53rem;
  font-weight: 750;
  line-height: 1.1;
  margin-top: 0.1rem;
  max-width: 4.6rem;
  overflow: hidden;
  padding: 0.08rem 0.18rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-preview-table-scroll {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 0.38rem;
  max-height: 20.5rem;
  overflow: auto;
  scrollbar-color: rgba(148, 163, 184, 0.45) rgba(15, 23, 42, 0.3);
  scrollbar-width: thin;
}

.match-preview-table-scroll--injuries {
  max-height: 10rem;
}

.match-preview-table {
  border-collapse: separate;
  border-spacing: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.68rem;
  line-height: 1.2;
  margin: 0;
  table-layout: fixed;
  width: 100%;
}

.match-preview-table th,
.match-preview-table td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.10);
  padding: 0.33rem 0.38rem;
}

/* Bootstrap's table rules may load with equal or greater specificity. Keep
   every compact lineup and injury cell vertically centred explicitly. */
.match-preview .match-preview-table > thead > tr > th,
.match-preview .match-preview-table > tbody > tr > td {
  vertical-align: middle;
}

.match-preview-table thead th {
  background: #132b47;
  color: rgba(241, 245, 249, 0.84);
  font-size: 0.57rem;
  letter-spacing: 0.07em;
  position: sticky;
  text-transform: uppercase;
  top: 0;
  z-index: 2;
}

.match-preview-table tbody tr:nth-child(odd) td {
  background: rgba(30, 55, 82, 0.38);
}

.match-preview-table tbody tr:nth-child(even) td {
  background: rgba(11, 30, 50, 0.88);
}

.match-preview-table tbody tr:hover td {
  background: rgba(45, 82, 120, 0.54);
}

.match-preview-table--players th:nth-child(1),
.match-preview-table--players td:nth-child(1) {
  text-align: center;
  width: 2.25rem;
}

.match-preview-table--players th:nth-child(3),
.match-preview-table--players td:nth-child(3) {
  text-align: center;
  width: 3.4rem;
}

.match-preview-table--players th:nth-child(4),
.match-preview-table--players td:nth-child(4) {
  text-align: right;
  width: 5.1rem;
}

.match-preview-player--vaihto td {
  color: rgba(226, 232, 240, 0.70);
}

.match-preview-player__name span,
.match-preview-player__name small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-preview-player__name small {
  color: rgba(148, 163, 184, 0.72);
  font-size: 0.54rem;
  margin-top: 0.05rem;
  text-transform: uppercase;
}

.match-preview-player__notes {
  white-space: nowrap;
}

.match-preview-badge {
  align-items: center;
  border: 1px solid rgba(147, 197, 253, 0.55);
  border-radius: 999px;
  color: #bfdbfe;
  display: inline-flex;
  font-size: 0.52rem;
  font-weight: 900;
  height: 1rem;
  justify-content: center;
  margin-right: 0.15rem;
  width: 1rem;
}

.match-preview-card,
.match-preview-card-stack {
  display: inline-flex;
  vertical-align: middle;
}

.match-preview-card {
  border: 1px solid rgba(0, 0, 0, 0.28);
  border-radius: 0.08rem;
  height: 0.88rem;
  width: 0.58rem;
}

.match-preview-card--yellow {
  background: #facc15;
}

.match-preview-card--red {
  background: #ef4444;
}

.match-preview-card--second-yellow {
  background: linear-gradient(135deg, #facc15 0 48%, #ef4444 52% 100%);
}

.match-preview-card-stack {
  align-items: center;
  margin-right: 0.16rem;
}

.match-preview-card-stack .match-preview-card + .match-preview-card {
  margin-left: -0.34rem;
}

.match-preview-card-stack small {
  color: rgba(226, 232, 240, 0.68);
  font-size: 0.55rem;
  margin-left: 0.12rem;
}

.match-preview-notice,
.match-preview__global-fallback {
  border-radius: 0.38rem;
  font-size: 0.68rem;
  line-height: 1.4;
  padding: 0.55rem 0.65rem;
}

.match-preview-notice--muted,
.match-preview__global-fallback {
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: rgba(226, 232, 240, 0.68);
}

.match-preview-notice--warning {
  background: rgba(245, 158, 11, 0.10);
  border: 1px solid rgba(245, 158, 11, 0.30);
  color: #fde68a;
  margin-bottom: 0.4rem;
}

.match-preview-notice--projection {
  background: rgba(37, 99, 235, 0.10);
  border: 1px solid rgba(96, 165, 250, 0.28);
  color: #bfdbfe;
  margin-bottom: 0.45rem;
}

.match-preview__global-fallback {
  margin-top: 0.75rem;
  text-align: center;
}

body.match-preview-mobile-open {
  overflow: hidden;
}

@keyframes match-preview-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 991.98px) {
  .match-preview-layer {
    pointer-events: auto;
  }

  .match-preview-layer__backdrop {
    background: rgba(2, 8, 18, 0.82);
    border: 0;
    display: block;
    inset: 0;
    padding: 0;
    position: absolute;
    width: 100%;
  }

  .match-preview-panel {
    border: 0;
    border-radius: 0;
    bottom: 0;
    left: 0;
    max-height: none;
    right: 0;
    top: 0;
    width: 100%;
  }

  .match-preview-panel__chrome {
    min-height: calc(3rem + env(safe-area-inset-top));
    padding-top: max(0.45rem, env(safe-area-inset-top));
  }

  .match-preview-panel__body {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .match-preview {
    padding: 0.55rem;
  }


  .match-preview__teams {
    grid-template-columns: minmax(0, 1fr);
  }

  .match-preview-section--pitch .match-preview-pitch {
    display: none;
  }

  .match-preview-table-scroll {
    max-height: 18.25rem;
  }

  .match-preview-table-scroll--injuries {
    max-height: 9.5rem;
  }
}

@media (max-width: 575.98px) {
  .match-preview__header {
    padding: 0.55rem;
  }

  .match-preview__matchup {
    gap: 0.35rem;
  }

  .match-preview__header-team {
    gap: 0.35rem;
  }

  .match-preview__header-team strong {
    font-size: 0.82rem;
  }

  .match-preview__header-flag {
    width: 2.55rem;
  }

  .match-preview__kickoff {
    font-size: 0.6rem;
  }

  .match-preview__kickoff strong {
    font-size: 0.74rem;
  }

  .match-preview__freshness {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
  }

  .match-preview-team__flag {
    width: 2.65rem;
  }

  .match-preview-team__formation {
    font-size: 0.58rem;
    margin-left: 0.4rem;
  }

  .match-preview-table {
    font-size: 0.64rem;
  }

  .match-preview-table th,
  .match-preview-table td {
    padding: 0.31rem 0.3rem;
  }
}

[data-bs-theme="light"] .match-preview-panel,
[data-bs-theme="light"] .match-preview,
[data-bs-theme="light"] .match-preview-team {
  color: #e7eef9;
}

@media (prefers-reduced-motion: reduce) {
  .match-preview-loading__spinner {
    animation-duration: 1.8s;
  }
}

.match-preview-panel__chrome {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.match-preview-carousel {
  align-items: center;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: auto minmax(0, auto) auto auto;
  justify-content: center;
  min-width: 0;
}

.match-preview-carousel[hidden] {
  display: none !important;
}

.match-preview-carousel__controls {
  display: contents;
}

.match-preview-carousel__button {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #dbeafe;
  display: inline-flex;
  font: inherit;
  font-size: 1.1rem;
  height: 1.8rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 1.8rem;
}

.match-preview-carousel__button--previous {
  grid-column: 1;
  grid-row: 1;
}

.match-preview-carousel__button--next {
  grid-column: 4;
  grid-row: 1;
}

.match-preview-carousel__button:hover,
.match-preview-carousel__button:focus-visible {
  background: rgba(96, 165, 250, 0.2);
  border-color: rgba(96, 165, 250, 0.5);
  outline: 2px solid rgba(96, 165, 250, 0.58);
  outline-offset: 1px;
}

.match-preview-carousel__summary {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  justify-items: center;
  line-height: 1.08;
  min-width: 0;
}

.match-preview-carousel__summary strong {
  font-size: 0.68rem;
  max-width: 16rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-preview-carousel__summary span {
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.56rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  margin-top: 0.12rem;
}

.match-preview-carousel__dots {
  align-items: center;
  display: flex;
  gap: 0.28rem;
  grid-column: 3;
  grid-row: 1;
}

.match-preview-carousel__dot {
  background: rgba(148, 163, 184, 0.42);
  border: 0;
  border-radius: 999px;
  height: 0.38rem;
  padding: 0;
  transition: width 120ms ease, background-color 120ms ease;
  width: 0.38rem;
}

.match-preview-carousel__dot[aria-selected="true"] {
  background: #93c5fd;
  width: 1rem;
}

.match-preview-carousel__dot:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.72);
  outline-offset: 2px;
}

.match-preview-carousel__mobile-position,
.match-preview-carousel__hint {
  display: none;
}

.match-preview-carousel__chevrons {
  display: inline-flex;
}

.match-preview-carousel__chevrons span:not(:first-child) {
  display: none;
}

.match-preview-panel__chrome-title {
  grid-column: 1;
}

.match-preview-carousel {
  grid-column: 2;
}

.match-preview-panel__close {
  grid-column: 3;
}

@keyframes match-preview-chevron-left {
  0%, 100% {
    opacity: 0.36;
    transform: translateX(0.08rem);
  }
  50% {
    opacity: 0.88;
    transform: translateX(-0.08rem);
  }
}

@keyframes match-preview-chevron-right {
  0%, 100% {
    opacity: 0.36;
    transform: translateX(-0.08rem);
  }
  50% {
    opacity: 0.88;
    transform: translateX(0.08rem);
  }
}

@media (max-width: 991.98px) {
  .match-preview-panel__chrome {
    gap: 0.4rem;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .match-preview-panel__chrome-title {
    grid-column: 1;
  }

  .match-preview-panel__close {
    grid-column: 2;
  }

  .match-preview-panel__chrome--carousel {
    display: block;
    min-height: 3.45rem;
    padding: 0.34rem 3rem 0.28rem;
    position: relative;
  }

  .match-preview-panel__chrome--carousel .match-preview-panel__chrome-title {
    display: none;
  }

  .match-preview-panel__chrome--carousel .match-preview-panel__close {
    position: absolute;
    right: 0.55rem;
    top: 0.4rem;
    z-index: 2;
  }

  .match-preview-carousel {
    display: grid;
    grid-column: 1;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    width: 100%;
  }

  .match-preview-carousel__mobile-position {
    color: rgba(226, 232, 240, 0.5);
    display: block;
    font-size: 0.57rem;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    left: 0.82rem;
    letter-spacing: 0.065em;
    line-height: 1;
    position: absolute;
    text-transform: uppercase;
    top: 0.56rem;
    white-space: nowrap;
  }

  .match-preview-panel__chrome--carousel .match-preview-carousel__summary {
    display: none;
  }

  .match-preview-carousel__controls {
    align-items: center;
    display: grid;
    gap: 0.28rem;
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: 2.2rem minmax(8.5rem, 1fr) 2.2rem;
    justify-content: center;
    margin: 0 auto;
    width: min(13.5rem, 100%);
  }

  .match-preview-carousel__button {
    background: transparent;
    border: 0;
    border-radius: 0.4rem;
    color: rgba(191, 219, 254, 0.74);
    height: 2.35rem;
    padding: 0;
    width: 2.2rem;
  }

  .match-preview-carousel__button--previous {
    grid-column: 1;
    grid-row: 1;
  }

  .match-preview-carousel__button--next {
    grid-column: 3;
    grid-row: 1;
  }

  .match-preview-carousel__button:hover,
  .match-preview-carousel__button:focus-visible {
    background: rgba(96, 165, 250, 0.12);
    border-color: transparent;
  }

  .match-preview-carousel__hint {
    align-content: center;
    display: grid;
    gap: 0.08rem;
    grid-column: 2;
    grid-row: 1;
    justify-items: center;
    line-height: 1;
    min-height: 2.35rem;
    text-align: center;
    white-space: nowrap;
  }

  .match-preview-carousel__hint-title {
    color: rgba(241, 245, 249, 0.92);
    font-size: 0.69rem;
    font-weight: 850;
    letter-spacing: 0.075em;
    text-transform: uppercase;
  }

  .match-preview-carousel__hint-text {
    color: rgba(226, 232, 240, 0.58);
    font-size: 0.59rem;
    font-weight: 720;
    letter-spacing: 0.035em;
  }

  .match-preview-carousel__chevrons {
    align-items: center;
    display: inline-flex;
    font-size: 1.35rem;
    font-weight: 900;
    justify-content: center;
    letter-spacing: -0.12rem;
    line-height: 1;
    padding-right: 0.12rem;
    width: 100%;
  }

  .match-preview-carousel__chevrons span,
  .match-preview-carousel__chevrons span:not(:first-child) {
    display: inline-block;
  }

  .match-preview-carousel__chevrons--previous span {
    animation: match-preview-chevron-left 1.9s ease-in-out infinite;
  }

  .match-preview-carousel__chevrons--next span {
    animation: match-preview-chevron-right 1.9s ease-in-out infinite;
  }

  .match-preview-carousel__chevrons span:nth-child(2) {
    animation-delay: 0.13s;
  }

  .match-preview-carousel__chevrons span:nth-child(3) {
    animation-delay: 0.26s;
  }

  .match-preview-carousel__dots {
    display: none;
  }
}

@media (max-width: 359.98px) {
  .match-preview-carousel__mobile-position {
    font-size: 0.5rem;
    left: 0.48rem;
  }

  .match-preview-carousel__controls {
    gap: 0.18rem;
    grid-template-columns: 1.75rem minmax(7.8rem, 1fr) 1.75rem;
    width: min(11.75rem, 100%);
  }

  .match-preview-carousel__button {
    width: 1.75rem;
  }

  .match-preview-carousel__hint-title {
    font-size: 0.63rem;
  }

  .match-preview-carousel__hint-text {
    font-size: 0.54rem;
  }

  .match-preview-carousel__chevrons {
    font-size: 1.15rem;
  }
}

@media (max-width: 575.98px) {
  .match-preview-panel__chrome-title {
    font-size: 0.61rem;
    letter-spacing: 0.06em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .match-preview-carousel__chevrons span {
    animation: none;
    opacity: 0.62;
    transform: none;
  }
}
