:root {
  --ink: #111111;
  --away-color: #111111;
  --home-color: #111111;
  --away-text: #ffffff;
  --home-text: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Comic Sans MS", "Chalkboard SE", "Marker Felt", sans-serif;
  color: var(--ink);
  background: #ffffff;
}

.page {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 20px 14px 32px;
}

.board-wrap {
  display: flex;
  justify-content: center;
}

.board {
  position: relative;
  width: min(100%, 1000px);
  aspect-ratio: 1400 / 1000;
}

.board-art,
.scribble-layer,
.board-text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.board-art {
  display: block;
}

.scribble-layer {
  pointer-events: none;
}

.board-text {
  pointer-events: none;
}

.scribble-side {
  position: absolute;
  inset: 0;
  opacity: 0.68;
  background: var(--away-color);
  clip-path: inset(0 50% 0 0);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.scribble-side.home {
  background: var(--home-color);
  clip-path: inset(0 0 0 50%);
}

.scribble-base {
  -webkit-mask-image: url("board-scribbles.png");
  mask-image: url("board-scribbles.png");
}

.slot {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  text-align: center;
  line-height: 1;
  text-transform: lowercase;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.45);
}

.away-team,
.home-team {
  top: 22.8%;
  width: 30%;
  height: 8.5%;
  font-size: 42px;
  font-weight: 700;
}

.away-team {
  left: 13.7%;
  color: var(--away-text);
  transform: rotate(-1deg);
}

.home-team {
  right: 14%;
  color: var(--home-text);
  transform: rotate(1deg);
}

.away-score,
.home-score {
  top: 39.2%;
  width: 22.8%;
  height: 15.6%;
  font-size: 74px;
  font-weight: 700;
}

.away-score {
  left: 19.8%;
  color: var(--away-text);
}

.home-score {
  right: 19.7%;
  color: var(--home-text);
}

.score-text {
  letter-spacing: -0.03em;
}

.status-box,
.clock-box {
  top: 68.6%;
  width: 14%;
  height: 6.5%;
  font-size: 28px;
  font-weight: 700;
}

.status-box {
  left: 29.7%;
}

.clock-box {
  right: 31.8%;
}

.sport-bar,
.time-bar {
  top: 84.5%;
  height: 6.5%;
  font-size: 29px;
  font-weight: 700;
}

.sport-bar {
  left: 11.6%;
  width: 24.5%;
  justify-content: flex-start;
}

.time-bar {
  right: 11.4%;
  width: 48.3%;
  justify-content: flex-start;
}

@media (max-width: 700px) {
  .page {
    padding: 12px 8px 24px;
  }

  .slot {
    padding: 4px 6px;
  }
}
