.block-match-sheet__shell {
  padding: 1rem 1.05rem 1.15rem;
}

.block-match-sheet__board {
  width: 100%;
  border-collapse: collapse;
}

.block-match-sheet__board th,
.block-match-sheet__board td {
  padding: 0.55rem 0.65rem;
  font-variant-numeric: tabular-nums;
}

.block-match-sheet__board thead th {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--region-text-muted);
}

.block-match-sheet__board .is-num {
  text-align: center;
  font-weight: 700;
}

.block-match-sheet__board tbody th {
  text-align: left;
  font-weight: 650;
  padding-left: 0.15rem;
}

.block-match-sheet__table td.is-num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.block-match-sheet__meta {
  margin: 0.95rem 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--region-text-muted);
}

.block-match-sheet__source {
  margin-top: 0.45rem;
}

.block-match-sheet__details {
  margin: 0.85rem 0 0;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--region-border) 82%, transparent 18%);
  background: color-mix(in srgb, var(--region-bg-elevated) 94%, transparent 6%);
}

.block-match-sheet__details[hidden],
.block-match-sheet__details[data-sk-match-sheet-charts]:not(.is-ready) {
  display: none;
}

.block-match-sheet__details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  list-style: none;
  padding: 0.7rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--region-text-muted);
}

.block-match-sheet__details > summary::-webkit-details-marker {
  display: none;
}

.block-match-sheet__details-count {
  min-width: 1.5rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  background: color-mix(in srgb, var(--region-primary) 12%, transparent 88%);
  color: var(--region-text);
}

.block-match-sheet__details .article-table-scroll {
  margin: 0;
  padding: 0 0.7rem 0.75rem;
}

.block-match-sheet__details[open] > summary {
  color: var(--region-text);
}

.block-result.is-ishockey,
.block-result.is-innebandy,
.block-match-sheet.is-ishockey,
.block-match-sheet.is-innebandy {
  --ms-ice: url('../images/match-sheet/hockey-ice-bg.webp');
  --ms-rink: url('../images/match-sheet/hockey-rink.svg');
  --ms-goal: url('../images/match-sheet/hockey-goal-bg.webp');
  --ms-penalty: url('../images/match-sheet/hockey-penalty-bg.webp');
  --ms-goalie: url('../images/match-sheet/hockey-goalie-bg.webp');
  --ms-mark-goal: url('../images/match-sheet/mark-goal.svg');
  --ms-mark-penalty: url('../images/match-sheet/mark-penalty.svg');
  --ms-mark-goalie: url('../images/match-sheet/mark-goalie.svg');
  --ms-mark-points: url('../images/match-sheet/mark-points.svg');
  --ms-mark-board: url('../images/match-sheet/mark-board.svg');
  --ms-accent: #7eb6e8;
  --ms-line: #d32f2f;
}

.block-result.is-innebandy,
.block-match-sheet.is-innebandy {
  --ms-ice: url('../images/match-sheet/innebandy-court-bg.webp');
  --ms-rink: url('../images/match-sheet/innebandy-court.svg');
  --ms-goal: url('../images/match-sheet/innebandy-goal-bg.webp');
  --ms-penalty: url('../images/match-sheet/innebandy-penalty-bg.webp');
  --ms-goalie: url('../images/match-sheet/innebandy-goalie-bg.webp');
  --ms-accent: #f4a15a;
  --ms-line: #e07020;
}

.block-result.is-ishockey .block-result__shell,
.block-result.is-innebandy .block-result__shell,
.block-match-sheet.is-ishockey .block-match-sheet__shell,
.block-match-sheet.is-innebandy .block-match-sheet__shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: color-mix(in srgb, var(--ms-accent) 28%, var(--region-border) 72%);
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--region-bg-elevated) 88%, var(--ms-accent) 12%),
      var(--region-bg-elevated)
    );
}

.block-result.is-ishockey .block-result__shell::before,
.block-result.is-innebandy .block-result__shell::before,
.block-match-sheet.is-ishockey .block-match-sheet__shell::before,
.block-match-sheet.is-innebandy .block-match-sheet__shell::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--region-bg-elevated) 82%, transparent 18%),
      color-mix(in srgb, var(--region-bg-elevated) 38%, transparent 62%) 55%,
      color-mix(in srgb, var(--region-bg-elevated) 18%, transparent 82%)
    ),
    var(--ms-ice);
  background-size: auto, cover;
  background-position: 0 0, 78% 46%;
  opacity: 0.42;
}

[data-theme='dark'] .block-result.is-ishockey .block-result__shell::before,
[data-theme='dark'] .block-result.is-innebandy .block-result__shell::before,
[data-theme='dark'] .block-match-sheet.is-ishockey .block-match-sheet__shell::before,
[data-theme='dark'] .block-match-sheet.is-innebandy .block-match-sheet__shell::before {
  opacity: 0.55;
}

.block-result.is-ishockey .block-result__shell > *,
.block-result.is-innebandy .block-result__shell > *,
.block-match-sheet.is-ishockey .block-match-sheet__shell > *,
.block-match-sheet.is-innebandy .block-match-sheet__shell > * {
  position: relative;
  z-index: 1;
}

.block-result.is-ishockey .block-result__scoreboard,
.block-result.is-innebandy .block-result__scoreboard {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 7.2rem;
  padding: 1rem 0.85rem 1.05rem;
  border: 0;
  background:
    linear-gradient(
      90deg,
      rgba(8, 14, 20, 0.78),
      rgba(8, 14, 20, 0.42) 46%,
      rgba(8, 14, 20, 0.22)
    ),
    var(--ms-ice);
  background-size: auto, cover;
  background-position: 0 0, 70% 55%;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ms-accent) 28%, transparent 72%);
}

.block-result.is-innebandy .block-result__scoreboard {
  background-image:
    linear-gradient(
      90deg,
      rgba(28, 16, 8, 0.78),
      rgba(28, 16, 8, 0.4) 48%,
      rgba(28, 16, 8, 0.2)
    ),
    var(--ms-ice);
}

.block-result.is-ishockey .block-result__pitch,
.block-result.is-innebandy .block-result__pitch {
  position: absolute;
  inset: 10% 8% 12%;
  z-index: 0;
  pointer-events: none;
  background: var(--ms-rink) center / contain no-repeat;
  opacity: 0.28;
}

.block-result.is-ishockey .block-result__team,
.block-result.is-innebandy .block-result__team,
.block-result.is-ishockey .block-result__score-center,
.block-result.is-innebandy .block-result__score-center {
  position: relative;
  z-index: 1;
}

.block-result.is-ishockey .block-result__competition,
.block-result.is-innebandy .block-result__competition {
  color: color-mix(in srgb, var(--ms-accent) 70%, var(--region-text) 30%);
}

.block-result.is-ishockey .block-result__team-name,
.block-result.is-innebandy .block-result__team-name {
  color: #f6f3ec;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.block-result.is-ishockey .block-result__score,
.block-result.is-innebandy .block-result__score {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.block-result.is-ishockey .block-result__separator,
.block-result.is-innebandy .block-result__separator {
  color: color-mix(in srgb, #fff 70%, var(--ms-accent) 30%);
}

.block-result.is-ishockey .block-result__emblem,
.block-result.is-innebandy .block-result__emblem {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 999px;
  background: #fff;
  border: 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.block-result.is-ishockey .block-result__note,
.block-result.is-innebandy .block-result__note {
  color: var(--region-text);
}

.block-result.is-ishockey .block-result__fact,
.block-result.is-innebandy .block-result__fact {
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, var(--region-bg-elevated) 86%, var(--ms-accent) 14%);
  border-color: color-mix(in srgb, var(--ms-accent) 22%, var(--region-border) 78%);
}

.block-result.is-ishockey .block-result__fact[data-fact='perioder']::before,
.block-result.is-innebandy .block-result__fact[data-fact='perioder']::before,
.block-result.is-ishockey .block-result__fact[data-fact='skott']::before,
.block-result.is-innebandy .block-result__fact[data-fact='skott']::before {
  content: '';
  position: absolute;
  right: 0.55rem;
  top: 0.55rem;
  width: 1.05rem;
  height: 1.05rem;
  background-color: color-mix(in srgb, var(--ms-accent) 80%, var(--region-text) 20%);
  -webkit-mask: var(--ms-mark-board) center / contain no-repeat;
  mask: var(--ms-mark-board) center / contain no-repeat;
  opacity: 0.7;
}

.block-result.is-ishockey .block-result__fact[data-fact='skott']::before,
.block-result.is-innebandy .block-result__fact[data-fact='skott']::before {
  -webkit-mask-image: var(--ms-mark-points);
  mask-image: var(--ms-mark-points);
}

.block-match-sheet.is-ishockey .block-match-sheet__panel,
.block-match-sheet.is-innebandy .block-match-sheet__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0.9rem 0 0;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--ms-accent) 22%, var(--region-border) 78%);
  background: color-mix(in srgb, var(--region-bg-elevated) 92%, var(--ms-accent) 8%);
}

.block-match-sheet.is-ishockey .block-match-sheet__panel::before,
.block-match-sheet.is-innebandy .block-match-sheet__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--region-bg-elevated) 78%, transparent 22%),
      color-mix(in srgb, var(--region-bg-elevated) 55%, transparent 45%)
    ),
    var(--ms-ice);
  background-size: auto, cover;
  background-position: 0 0, 50% 50%;
  opacity: 0.55;
}

.block-match-sheet.is-ishockey .block-match-sheet__panel[data-section='goals']::before,
.block-match-sheet.is-innebandy .block-match-sheet__panel[data-section='goals']::before {
  background-image:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--region-bg-elevated) 72%, transparent 28%),
      color-mix(in srgb, var(--region-bg-elevated) 48%, transparent 52%)
    ),
    var(--ms-goal);
  background-position: 0 0, 50% 70%;
}

.block-match-sheet.is-ishockey .block-match-sheet__panel[data-section='penalties']::before,
.block-match-sheet.is-innebandy .block-match-sheet__panel[data-section='penalties']::before {
  background-image:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--region-bg-elevated) 76%, transparent 24%),
      color-mix(in srgb, var(--region-bg-elevated) 52%, transparent 48%)
    ),
    var(--ms-penalty);
}

.block-match-sheet.is-ishockey .block-match-sheet__panel[data-section='goalies']::before,
.block-match-sheet.is-innebandy .block-match-sheet__panel[data-section='goalies']::before {
  background-image:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--region-bg-elevated) 74%, transparent 26%),
      color-mix(in srgb, var(--region-bg-elevated) 50%, transparent 50%)
    ),
    var(--ms-goalie);
  background-position: 0 0, 70% 60%;
}

.block-match-sheet.is-ishockey .block-match-sheet__panel[data-section='board']::before {
  background-image:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--region-bg-elevated) 70%, transparent 30%),
      color-mix(in srgb, var(--region-bg-elevated) 46%, transparent 54%)
    ),
    var(--ms-rink),
    var(--ms-ice);
  background-size: auto, 88% auto, cover;
  background-position: 0 0, center 58%, 50% 50%;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

.block-match-sheet.is-innebandy .block-match-sheet__panel[data-section='board']::before {
  background-image:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--region-bg-elevated) 70%, transparent 30%),
      color-mix(in srgb, var(--region-bg-elevated) 46%, transparent 54%)
    ),
    var(--ms-rink),
    var(--ms-ice);
  background-size: auto, 88% auto, cover;
  background-position: 0 0, center 58%, 50% 40%;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

/* Hopfällda rader är för låga för ett foto. Symbolen vid rubriken räcker. */
.block-match-sheet.is-ishockey .block-match-sheet__details.block-match-sheet__panel::before,
.block-match-sheet.is-innebandy .block-match-sheet__details.block-match-sheet__panel::before {
  content: none;
  background-image: none;
}

.block-match-sheet.is-ishockey .block-match-sheet__panel > *,
.block-match-sheet.is-innebandy .block-match-sheet__panel > * {
  position: relative;
  z-index: 1;
}

.block-match-sheet.is-ishockey .block-match-sheet__panel .article-table-scroll,
.block-match-sheet.is-innebandy .block-match-sheet__panel .article-table-scroll {
  margin: 0;
  padding: 0.15rem 0.7rem 0.75rem;
}

.block-match-sheet.is-ishockey .block-match-sheet__table caption,
.block-match-sheet.is-innebandy .block-match-sheet__table caption {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--region-text);
}

.block-match-sheet.is-ishockey .block-match-sheet__table caption::before,
.block-match-sheet.is-innebandy .block-match-sheet__table caption::before,
.block-match-sheet.is-ishockey .block-match-sheet__details-title::before,
.block-match-sheet.is-innebandy .block-match-sheet__details-title::before {
  content: '';
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  background-color: color-mix(in srgb, var(--ms-accent) 82%, var(--region-text) 18%);
  -webkit-mask: var(--ms-mark-board) center / contain no-repeat;
  mask: var(--ms-mark-board) center / contain no-repeat;
}

.block-match-sheet.is-ishockey .block-match-sheet__panel[data-section='goals'] caption::before,
.block-match-sheet.is-innebandy .block-match-sheet__panel[data-section='goals'] caption::before,
.block-match-sheet.is-ishockey .block-match-sheet__details[data-section='goals'] .block-match-sheet__details-title::before,
.block-match-sheet.is-innebandy .block-match-sheet__details[data-section='goals'] .block-match-sheet__details-title::before {
  -webkit-mask-image: var(--ms-mark-goal);
  mask-image: var(--ms-mark-goal);
}

.block-match-sheet.is-ishockey .block-match-sheet__panel[data-section='penalties'] .block-match-sheet__details-title::before,
.block-match-sheet.is-innebandy .block-match-sheet__panel[data-section='penalties'] .block-match-sheet__details-title::before {
  -webkit-mask-image: var(--ms-mark-penalty);
  mask-image: var(--ms-mark-penalty);
}

.block-match-sheet.is-ishockey .block-match-sheet__panel[data-section='goalies'] .block-match-sheet__details-title::before,
.block-match-sheet.is-innebandy .block-match-sheet__panel[data-section='goalies'] .block-match-sheet__details-title::before {
  -webkit-mask-image: var(--ms-mark-goalie);
  mask-image: var(--ms-mark-goalie);
}

.block-match-sheet.is-ishockey .block-match-sheet__panel[data-section='points'] .block-match-sheet__details-title::before,
.block-match-sheet.is-innebandy .block-match-sheet__panel[data-section='points'] .block-match-sheet__details-title::before,
.block-match-sheet.is-ishockey .block-match-sheet__panel[data-section='charts'] .block-match-sheet__details-title::before,
.block-match-sheet.is-innebandy .block-match-sheet__panel[data-section='charts'] .block-match-sheet__details-title::before {
  -webkit-mask-image: var(--ms-mark-points);
  mask-image: var(--ms-mark-points);
}

.block-match-sheet.is-ishockey .block-match-sheet__details,
.block-match-sheet.is-innebandy .block-match-sheet__details {
  background: color-mix(in srgb, var(--region-bg-elevated) 94%, var(--ms-accent) 6%);
}

.block-match-sheet.is-ishockey .block-match-sheet__details-count,
.block-match-sheet.is-innebandy .block-match-sheet__details-count {
  background: color-mix(in srgb, var(--ms-accent) 22%, transparent 78%);
}

.block-match-sheet.is-ishockey .block-match-sheet__board tbody .is-num:last-child,
.block-match-sheet.is-innebandy .block-match-sheet__board tbody .is-num:last-child {
  color: color-mix(in srgb, var(--ms-line) 70%, var(--region-text) 30%);
}

.block-match-sheet.is-ishockey + .block-result,
.block-match-sheet.is-innebandy + .block-result {
  display: none;
}

.block-match-sheet.is-ishockey .block-match-sheet__header,
.block-match-sheet.is-innebandy .block-match-sheet__header {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.block-match-sheet.is-ishockey .block-match-sheet__shell,
.block-match-sheet.is-innebandy .block-match-sheet__shell {
  padding: 1rem 0.85rem 0.95rem;
  border-radius: 1rem;
  color: var(--region-text);
  background-color: var(--region-bg-elevated);
  background-image:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--region-bg-elevated) 86%, transparent 14%),
      color-mix(in srgb, var(--region-bg-elevated) 78%, transparent 22%)
    ),
    var(--ms-ice);
  background-size: auto, cover;
  background-position: 0 0, center 42%;
}

.block-match-sheet.is-ishockey .block-match-sheet__shell::before,
.block-match-sheet.is-innebandy .block-match-sheet__shell::before,
.block-match-sheet.is-ishockey .block-match-sheet__panel[data-section]::before,
.block-match-sheet.is-innebandy .block-match-sheet__panel[data-section]::before {
  content: none;
}

[data-theme='dark'] .block-match-sheet.is-ishockey .block-match-sheet__shell,
[data-theme='dark'] .block-match-sheet.is-innebandy .block-match-sheet__shell {
  color: #f4f7fb;
  background-color: #0d1826;
  background-image:
    linear-gradient(180deg, rgba(7, 14, 24, 0.55), rgba(7, 14, 24, 0.78)),
    var(--ms-ice);
}

.block-match-sheet__hero {
  margin: 0 0 0.85rem;
}

.block-match-sheet.is-ishockey .block-match-sheet__hero .block-match-sheet__competition,
.block-match-sheet.is-innebandy .block-match-sheet__hero .block-match-sheet__competition {
  margin: 0 0 0.85rem;
  text-align: center;
  color: color-mix(in srgb, var(--region-text) 72%, var(--ms-accent) 28%);
}

.block-match-sheet__sport {
  margin: 0 0 0.15rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--region-text-muted);
}

.block-match-sheet.is-innebandy .block-match-sheet__hero .block-match-sheet__competition {
  margin-top: 0;
  margin-bottom: 0.85rem;
}

.block-match-sheet.is-innebandy .block-match-sheet__panel[data-section='board'] {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.block-match-sheet__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.85rem;
	height: 1.85rem;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
}

.block-match-sheet__mark-logo {
	width: 1.35rem;
	height: 1.35rem;
	object-fit: contain;
}

.block-match-sheet__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  padding: 0.12rem 0.4rem;
  border-radius: 0.3rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: #1a120c;
}

.block-match-sheet.is-innebandy .block-match-sheet__badge--home {
  background: var(--ms-accent);
}

.block-match-sheet.is-innebandy .block-match-sheet__badge--away {
  background: #f2c14e;
}

.block-match-sheet.is-innebandy .block-match-sheet__shotbar span:last-child {
  background: #f2c14e;
}

[data-theme='dark'] .block-match-sheet.is-ishockey .block-match-sheet__hero .block-match-sheet__competition,
[data-theme='dark'] .block-match-sheet.is-innebandy .block-match-sheet__hero .block-match-sheet__competition {
  color: color-mix(in srgb, #fff 78%, var(--ms-accent) 22%);
}

.block-match-sheet__scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.35rem 0.45rem;
}

.block-match-sheet__scoreboard .block-result__emblem {
  width: clamp(3.1rem, 12vw, 4.6rem);
  height: clamp(3.1rem, 12vw, 4.6rem);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(8, 16, 28, 0.18);
}

.block-match-sheet__scoreboard .block-result__team-name {
  font-size: clamp(0.72rem, 2.4vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--region-text);
}

[data-theme='dark'] .block-match-sheet__scoreboard .block-result__team-name {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.block-match-sheet__score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 800;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  color: var(--region-text);
}

[data-theme='dark'] .block-match-sheet__score {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.block-match-sheet__score-gap {
  font-weight: 500;
  opacity: 0.7;
}

.block-match-sheet__final {
  margin: 0.35rem 0 0;
  text-align: center;
}

.block-match-sheet__final {
  display: inline-block;
  width: 100%;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--region-text-muted);
}

.block-match-sheet__panel {
  background: color-mix(in srgb, var(--region-bg-elevated) 92%, #fff 8%);
  border-color: color-mix(in srgb, var(--region-border) 70%, transparent 30%);
}

[data-theme='dark'] .block-match-sheet.is-ishockey .block-match-sheet__panel,
[data-theme='dark'] .block-match-sheet.is-innebandy .block-match-sheet__panel {
  background: rgba(10, 22, 38, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
  color: #f4f7fb;
}

.block-match-sheet__panel-title {
  margin: 0;
  padding: 0.7rem 0.85rem 0.15rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.block-match-sheet__team {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.block-match-sheet__team-logo {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.block-match-sheet__board tbody .is-num:last-child,
.block-match-sheet.is-ishockey .block-match-sheet__board tbody .is-num:last-child,
.block-match-sheet.is-innebandy .block-match-sheet__board tbody .is-num:last-child {
  color: var(--ms-line);
  font-weight: 800;
}

.block-match-sheet__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.block-match-sheet__fact {
  padding: 0.7rem 0.75rem 0.75rem;
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--region-bg-elevated) 92%, #fff 8%);
  border: 1px solid color-mix(in srgb, var(--region-border) 70%, transparent 30%);
}

[data-theme='dark'] .block-match-sheet.is-ishockey .block-match-sheet__fact,
[data-theme='dark'] .block-match-sheet.is-innebandy .block-match-sheet__fact {
  background: rgba(10, 22, 38, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
}

.block-match-sheet__fact-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--region-text-muted);
}

.block-match-sheet__fact-value {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.2rem 0 0;
  font-size: 1.45rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.block-match-sheet__fact-value--text {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.block-match-sheet__fact-gap {
  opacity: 0.45;
  font-weight: 500;
}

.block-match-sheet__shotbar {
  display: flex;
  height: 0.35rem;
  margin-top: 0.45rem;
  overflow: hidden;
  border-radius: 999px;
  background: transparent;
}

.block-match-sheet__shotbar span:first-child {
  background: var(--ms-accent);
}

.block-match-sheet__shotbar span:last-child {
  background: var(--ms-line);
}

.block-match-sheet.is-ishockey .block-match-sheet__meta,
.block-match-sheet.is-innebandy .block-match-sheet__meta,
.block-match-sheet.is-ishockey .block-match-sheet__source,
.block-match-sheet.is-innebandy .block-match-sheet__source {
  color: color-mix(in srgb, var(--region-text) 70%, transparent 30%);
}

[data-theme='dark'] .block-match-sheet.is-ishockey .block-match-sheet__meta,
[data-theme='dark'] .block-match-sheet.is-innebandy .block-match-sheet__meta,
[data-theme='dark'] .block-match-sheet.is-ishockey .block-match-sheet__source,
[data-theme='dark'] .block-match-sheet.is-innebandy .block-match-sheet__source {
  color: rgba(244, 247, 251, 0.78);
}

@media (max-width: 640px) {
  .block-match-sheet.is-ishockey .block-match-sheet__shell,
  .block-match-sheet.is-innebandy .block-match-sheet__shell {
    padding: 0.85rem 0.65rem 0.8rem;
  }

  .block-match-sheet__facts {
    grid-template-columns: 1fr;
  }

  .block-match-sheet__table {
    min-width: 34rem;
  }

  .block-match-sheet__board {
    min-width: 28rem;
  }

  .block-match-sheet.is-innebandy .block-match-sheet__board {
    min-width: 0;
  }

  .block-match-sheet__scoreboard .block-result__team-name {
    max-width: 7.5rem;
  }
}

@media (min-width: 768px) {
  .block-result.is-ishockey .block-result__scoreboard,
  .block-result.is-innebandy .block-result__scoreboard {
    min-height: 8.2rem;
    padding: 1.15rem 1.1rem 1.2rem;
  }

  .block-result.is-ishockey .block-result__emblem,
  .block-result.is-innebandy .block-result__emblem {
    width: 3.8rem;
    height: 3.8rem;
  }
}

