@charset "utf-8";
@font-face {
  font-family: "Montserrat";
  src: url("../../../../widgets/widgets/match_widget/skins/default/src/Montserrat-VariableFont_wght.ttf") format("truetype-variations");
  font-style: normal;
  unicode-range: U0030-0039, U0041-005A, U0061-007A;
}
@font-face {
  font-family: "Shilla";
  src: url("../../../../widgets/widgets/match_widget/skins/default/src/Shilla_Culture_B.ttf") format("truetype");
  font-style: normal;
}
.match-widget {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  background-color: #003f98;
  color: #fff;
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
}
.match-widget::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom,transparent 0%,#042e68 100%);
  z-index: 3;
  pointer-events: none;
}
.match-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.match-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.match-content {
  position: relative;
  height: 100%;
}
.home-team-logo {
  position: absolute;
  width: 128%;
  left: -101px;
  bottom: -44px;
  height: auto;
  object-fit: contain;
  z-index: 2;
}
.vs-divider {
  position: absolute;
  transform: translateX(-50%);
  top: 0;
  left: 50%;
  width: 80%;
  height: auto;
  object-fit: contain;
  z-index: 1;
}
.match-info-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  z-index: 1;
}
.team-name {
  font-family: "Shilla", sans-serif;
  font-size: 40px;
  color: #fff;
  text-align: center;
  word-break: keep-all;
  writing-mode: vertical-lr;
  max-height: 48px;
}
.match-countdown {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  align-items: center;
  z-index: 3;
}
.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.countdown-value {
  display: flex;
  align-items: center;
  justify-content: center;
}
.countdown-number {
  font-size: 40px;
  color: #f5b913;
  font-family: "Shilla", sans-serif;
  letter-spacing: 1px;
}
.countdown-label {
  font-size: 12px;
  color: #d6d6d6;
  text-transform: uppercase;
  font-family: "Shilla", sans-serif;
}
.countdown-separator {
  font-size: 40px;
  color: #d6d6d6;
  font-family: "Montserrat", sans-serif;
  align-self: flex-start;
  line-height: 1;
}
.detail-button {
  display: block;
  padding: 4px 8px;
  border: 1px solid #fff;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}
.detail-button:hover {
  color: #003f98;
  background-color: #fff;
}
.no-matches {
  text-align: center;
  padding: 32px 24px;
  color: #999999;
}
.no-matches p {
  margin: 0;
  font-size: 16px;
}
@media (max-width: 768px) {
  .match-widget {
    aspect-ratio: 2;
    padding: 16px;
  }
  .home-team-logo {
    width: 108%;
    left: -94px;
    bottom: -156px;
  }
  .vs-divider {
    top: -10%;
    left: 50%;
    width: 50%;
  }
  .match-info-wrapper {
    gap: 16px;
  }
  .team-name {
    max-width: 120px;
    word-break: keep-all;
    writing-mode: unset;
  }
  .detail-button {
    padding: 4px 8px;
    font-size: 12px;
  }
}

