@charset "UTF-8";

.spo-featured-widget {
  display: block !important;
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 15px !important;
  box-sizing: border-box !important;
  float: none !important;
  clear: none !important;
  overflow: hidden !important;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  container-type: inline-size;
}

.spo-featured-widget *,
.spo-featured-widget *::before,
.spo-featured-widget *::after {
  box-sizing: border-box;
}

/* =========================================
상단 제목
========================================= */

.spo-featured-widget .spof-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-width: 0;
  margin: 0 0 12px;
  padding: 0 68px 10px 0;
  border-bottom: 1px solid #eef0f3;
}

.spo-featured-widget .spof-head h3 {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
}

.spo-featured-widget .spof-all {
  font-size: 12px;
  color: #64748b;
  text-decoration: none;
  white-space: nowrap;
}

.spo-featured-widget .spof-all:hover {
  color: #2563eb;
}

.spo-featured-widget .spof-actions {
  position: absolute;
  top: 12px;
  right: 15px;
  display: flex;
  gap: 5px;
  z-index: 2;
}

.spo-featured-widget .spof-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  padding: 0;
  margin: 0;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #f8fafc;
  color: #475569;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.spo-featured-widget .spof-nav:hover {
  background: #eaf1ff;
  color: #2563eb;
}

.spo-featured-widget .spof-nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.spo-featured-widget .spof-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  gap: 10px;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0;
  padding: 0 0 4px;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}

.spo-featured-widget .spof-track::-webkit-scrollbar {
  display: none;
}

.spo-featured-widget .spof-item {
  display: block;

  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 12px;
  margin: 0;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  color: #334155;
  text-decoration: none;
  scroll-snap-align: start;
  overflow: hidden;
}

.spo-featured-widget .spof-item:hover {
  border-color: #93c5fd;
  background: #f1f6ff;
  text-decoration: none;
}

.spo-featured-widget .spof-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  margin-bottom: 12px;
  font-size: 12px;
  color: #64748b;
}

.spo-featured-widget .spof-top > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spo-featured-widget .spof-tag {
  flex-shrink: 0;
  padding: 3px 6px;
  border-radius: 4px;
  background: #fff4d6;
  color: #b7791f;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.spo-featured-widget .spof-match {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.spo-featured-widget .spof-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  text-align: center;
}

.spo-featured-widget .spof-logo {
  display: block;
  width: 35px;
  height: 35px;
  max-width: 100%;
  object-fit: contain;
}

.spo-featured-widget .spof-team span {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

.spo-featured-widget .spof-score {
  flex-shrink: 0;
  text-align: center;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 800;
  color: #1f2937;
}

.spo-featured-widget .spof-status {
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 11px;
  color: #64748b;
}

.spo-featured-widget .spof-live {
  color: #dc2626;
  font-weight: 700;
}

.spo-featured-widget .spof-empty {
  padding: 25px 10px;
  text-align: center;

  font-size: 13px;
  color: #94a3b8;
}

@container (min-width: 480px) {
  .spo-featured-widget .spof-item {
    flex-basis: calc((100% - 10px) / 2);
    width: calc((100% - 10px) / 2);
  }
}

@container (min-width: 850px) {
  .spo-featured-widget .spof-item {
    flex-basis: calc((100% - 20px) / 3);
    width: calc((100% - 20px) / 3);
  }
}

@container (max-width: 370px) {
  .spo-featured-widget .spof-head {
    padding-right: 60px;
  }

  .spo-featured-widget .spof-head h3 {
    font-size: 14px;
  }

  .spo-featured-widget .spof-all {
    font-size: 10px;
  }

  .spo-featured-widget .spof-item {
    padding: 10px;
  }

  .spo-featured-widget .spof-logo {
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spo-featured-widget .spof-track {
    scroll-behavior: auto;
  }
}
