:root {
  --s8lf-shell-max: 1680px;
}

.s8lf-shortcode,
.s8lf-page {
  color: #171a20;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.s8lf-standalone-body {
  margin: 0;
  background: #f5f6f8;
  overflow-x: hidden;
}

body:has(.s8lf-shortcode) {
  overflow-x: hidden;
}

body:has(.s8lf-shortcode) main.wp-block-group {
  margin-top: 0 !important;
}

body:has(.s8lf-shortcode) main.wp-block-group > .wp-block-group {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}

body:has(.s8lf-shortcode) .wp-block-post-title {
  display: none !important;
}

body:has(.s8lf-shortcode) .wp-block-post-content {
  margin-top: 0 !important;
}

.s8lf-shortcode {
  box-sizing: border-box;
  position: relative;
  width: calc(100vw - 32px) !important;
  max-width: none !important;
  margin: 32px 0 32px calc(50% - 50vw + 16px) !important;
  padding: 0;
}

.s8lf-shortcode .s8lf-root {
  width: 100%;
  max-width: var(--s8lf-shell-max);
  margin: 0 auto;
}

.s8lf-page {
  box-sizing: border-box;
  min-height: 100vh;
  padding: 32px max(16px, calc((100vw - var(--s8lf-shell-max)) / 2));
  background: #f5f6f8;
}

.s8lf-root,
.s8lf-root *,
.s8lf-root *::before,
.s8lf-root *::after {
  box-sizing: border-box;
}

.s8lf-root a {
  color: inherit;
  text-decoration: none;
}

.s8lf-shell {
  width: 100%;
}

.s8lf-theme--dark {
  color: #f5f7fb;
}

.s8lf-theme--dark .s8lf-heading h2,
.s8lf-theme--dark .s8lf-card__team strong,
.s8lf-theme--dark .s8lf-card__competition-pill span,
.s8lf-theme--dark .s8lf-commentator > span:last-child,
.s8lf-theme--dark .s8lf-player-titlebar strong,
.s8lf-theme--dark .s8lf-match-team span:last-child {
  color: #f5f7fb;
}

.s8lf-theme--dark .s8lf-heading > span,
.s8lf-theme--dark .s8lf-card,
.s8lf-theme--dark .s8lf-player-panel,
.s8lf-theme--dark .s8lf-chat,
.s8lf-theme--dark .s8lf-state {
  border-color: #2e343c;
  background: #17191d;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.s8lf-theme--dark .s8lf-card__commentators,
.s8lf-theme--dark .s8lf-card__action,
.s8lf-theme--dark .s8lf-player-titlebar,
.s8lf-theme--dark .s8lf-match-strip {
  border-color: #2e343c;
}

.s8lf-theme--dark .s8lf-card__muted,
.s8lf-theme--dark .s8lf-heading > span {
  color: #aeb6c2;
}

.s8lf-theme--dark .s8lf-score,
.s8lf-theme--dark .s8lf-match-score {
  border-color: rgba(255, 107, 1, 0.36);
  background: rgba(255, 107, 1, 0.14);
  color: #ff9d5f;
}

.s8lf-theme--dark .s8lf-stream-tabs a {
  border-color: #343b45;
  background: #1f2329;
  color: #d7dce4;
}

.s8lf-theme--dark .s8lf-team-logo {
  border-color: #343b45;
  background: #111317;
}

.s8lf-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
}

.s8lf-heading p {
  margin: 0 0 4px;
  color: #f15f22;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.s8lf-heading h2 {
  margin: 0;
  color: #101218;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
}

.s8lf-heading > span {
  flex: 0 0 auto;
  border: 1px solid #e3e7ec;
  border-radius: 999px;
  background: #fff;
  color: #5f6773;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 14px;
  white-space: nowrap;
}

.s8lf-filterbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -2px 0 18px;
  padding: 0 0 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.s8lf-filterbar::-webkit-scrollbar {
  display: none;
}

.s8lf-filter {
  appearance: none;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  height: 42px;
  border: 1px solid #e5ded8;
  border-radius: 11px;
  background: #fff;
  color: #1b1f27;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  padding: 0 14px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.s8lf-filter:hover {
  border-color: rgba(255, 90, 31, 0.34);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.s8lf-filter.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #ff5126 0%, #ff6b1f 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 90, 31, 0.22);
}

.s8lf-filter.is-switching {
  animation: s8lf-filter-pop 260ms cubic-bezier(0.2, 0.9, 0.28, 1.25);
}

.s8lf-filter__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.s8lf-filter__svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.s8lf-filter__label {
  min-width: 0;
}

.s8lf-filter__count {
  display: inline-flex;
  min-width: 26px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eef2f7;
  color: #657080;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 0 8px;
}

.s8lf-filter.is-active .s8lf-filter__count {
  background: #fff;
  color: #ff5a1f;
}

.s8lf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.s8lf-grid.is-filtering {
  opacity: 0.72;
  transform: translateY(4px);
}

.s8lf-grid.is-filtered-in .s8lf-card,
.s8lf-grid.is-filtered-in .s8lf-state--inline {
  animation: s8lf-card-filter-in 300ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.s8lf-grid.is-filtered-in .s8lf-card:nth-child(2) {
  animation-delay: 35ms;
}

.s8lf-grid.is-filtered-in .s8lf-card:nth-child(3) {
  animation-delay: 70ms;
}

.s8lf-grid.is-filtered-in .s8lf-card:nth-child(4) {
  animation-delay: 105ms;
}

.s8lf-grid.is-filtered-in .s8lf-card:nth-child(n + 5) {
  animation-delay: 130ms;
}

.s8lf-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.s8lf-card {
  display: block;
  min-width: 0;
  border: 1px solid #e4ddd8;
  border-radius: 18px;
  background: #f8f6f4;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  padding: 8px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.s8lf-card:hover {
  border-color: rgba(255, 90, 31, 0.28);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.s8lf-card--live,
.s8lf-card--hot {
  border-color: #ff5a1f;
  box-shadow: 0 8px 22px rgba(255, 90, 31, 0.18);
}

.s8lf-card--disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.s8lf-card--disabled:hover {
  border-color: #e4ddd8;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  transform: none;
}

.s8lf-card__inner {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid #e2dcd6;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 246, 237, 0.82), rgba(255, 252, 248, 0.84)),
    linear-gradient(rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98);
  padding: 14px 16px 16px;
}

.s8lf-card--live .s8lf-card__inner,
.s8lf-card--hot .s8lf-card__inner {
  border-color: #ff5a1f;
  background:
    radial-gradient(circle at 22% 46%, rgba(255, 168, 96, 0.2) 0%, rgba(255, 168, 96, 0.12) 18%, rgba(255, 168, 96, 0.045) 34%, rgba(255, 168, 96, 0) 56%),
    radial-gradient(circle at 78% 46%, rgba(255, 168, 96, 0.2) 0%, rgba(255, 168, 96, 0.12) 18%, rgba(255, 168, 96, 0.045) 34%, rgba(255, 168, 96, 0) 56%),
    radial-gradient(ellipse at 50% 44%, rgba(255, 118, 32, 0.14) 0%, rgba(255, 118, 32, 0.075) 26%, rgba(255, 118, 32, 0.025) 42%, rgba(255, 118, 32, 0) 62%),
    linear-gradient(180deg, rgba(255, 246, 237, 0.82), rgba(255, 252, 248, 0.84)),
    linear-gradient(rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.74));
}

.s8lf-card__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/S8_background_Item_card.svg") no-repeat 58% center;
  background-size: 82% auto;
  opacity: 0.22;
  pointer-events: none;
}

.s8lf-card--live .s8lf-card__inner::before,
.s8lf-card--hot .s8lf-card__inner::before {
  opacity: 0.34;
}

.s8lf-card__top,
.s8lf-card__match,
.s8lf-card__divider,
.s8lf-card__footer {
  position: relative;
  z-index: 1;
}

.s8lf-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.s8lf-card__pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 8px;
  border: 1px solid #ff5a1f;
  border-radius: 999px;
  background: #fff;
  color: #5f6773;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 12px;
}

.s8lf-card__competition-pill {
  max-width: 64%;
}

.s8lf-card__competition-pill img {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 999px;
  object-fit: cover;
}

.s8lf-card__competition-pill span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.s8lf-card__time-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.s8lf-card__time-pill {
  color: #ff5a1f;
}

.s8lf-card__date {
  color: #7b8491;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  padding: 0 4px;
}

.s8lf-card__match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.s8lf-card__team {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.s8lf-card__team .s8lf-team-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  margin-bottom: 10px;
  padding: 4px;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

.s8lf-card__team strong {
  min-width: 0;
  overflow: hidden;
  color: #171a20;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.s8lf-team-logo {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #f0e4dc;
  border-radius: 999px;
  background: #fff;
  color: #f15f22;
  font-weight: 900;
  object-fit: cover;
}

.s8lf-team-logo--empty {
  background: #fff4ed;
}

.s8lf-card__center {
  display: flex;
  min-width: 110px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 4px;
  text-align: center;
}

.s8lf-card__status {
  margin-bottom: 8px;
  color: #ff5a1f;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.s8lf-card__status.is-live {
  color: #ef4444;
}

.s8lf-card__countdown {
  display: inline-flex;
  min-width: 126px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 999px;
  background: #ff5a1f;
  color: #fff;
  padding: 7px 16px;
  box-shadow: 0 6px 16px rgba(255, 90, 31, 0.22);
}

.s8lf-card__countdown span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.85;
  text-transform: uppercase;
}

.s8lf-card__countdown strong {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
}

.s8lf-card__score-pill {
  display: inline-flex;
  min-width: 82px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ff5a1f;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  padding: 10px 18px;
  box-shadow: 0 6px 16px rgba(255, 90, 31, 0.22);
}

.s8lf-card__score-sep {
  padding: 0 8px;
}

.s8lf-card__divider {
  width: 72%;
  height: 1px;
  margin: 14px auto 12px;
  background: #ffb180;
}

.s8lf-card__footer {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
}

.s8lf-card__commentators {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
}

.s8lf-commentator {
  display: flex;
  min-width: 0;
  max-width: 210px;
  align-items: center;
  gap: 12px;
}

.s8lf-commentator > span:last-child {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: #252a32;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.s8lf-commentator__avatar {
  display: flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid #ff5a1f;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(255, 90, 31, 0.18);
  transform: rotate(45deg);
}

.s8lf-commentator__avatar img,
.s8lf-commentator__avatar > span {
  width: 100%;
  height: 100%;
  transform: rotate(-45deg) scale(1.12);
}

.s8lf-commentator__avatar img {
  object-fit: cover;
}

.s8lf-commentator__avatar > span {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff4ed;
  color: #f15f22;
  font-weight: 900;
}

.s8lf-commentator__avatar.is-live {
  animation: s8lf-live-ring 1.2s ease-in-out infinite;
}

.s8lf-card__muted {
  color: #8b949f;
  font-size: 14px;
  font-weight: 700;
}

.s8lf-pill,
.s8lf-live-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 6px 10px;
  white-space: nowrap;
}

.s8lf-pill {
  background: #ebfff1;
  color: #16a047;
}

.s8lf-card--live .s8lf-pill,
.s8lf-live-badge {
  background: #ef4444;
  color: #fff;
}

.s8lf-score,
.s8lf-match-score {
  border: 1px solid #f3d0bd;
  border-radius: 10px;
  background: #fff7f1;
  color: #d85216;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.s8lf-score {
  padding: 8px 12px;
}

.s8lf-theme--dark .s8lf-card {
  border-color: #2e343c;
  background: #131415;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.s8lf-theme--dark .s8lf-card--live,
.s8lf-theme--dark .s8lf-card--hot {
  border-color: #ff5a1f;
}

.s8lf-theme--dark .s8lf-card__inner {
  border-color: #343b45;
  background: linear-gradient(#131415, #131415);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.s8lf-theme--dark .s8lf-card--live .s8lf-card__inner,
.s8lf-theme--dark .s8lf-card--hot .s8lf-card__inner {
  border-color: #ff5a1f;
  background:
    radial-gradient(circle at 22% 46%, rgba(255, 118, 32, 0.28) 0%, rgba(255, 118, 32, 0.14) 25%, rgba(255, 118, 32, 0.06) 45%, transparent 65%),
    radial-gradient(circle at 78% 46%, rgba(255, 118, 32, 0.28) 0%, rgba(255, 118, 32, 0.14) 25%, rgba(255, 118, 32, 0.06) 45%, transparent 65%),
    radial-gradient(circle at 50% 50%, rgba(255, 118, 32, 0.18) 0%, rgba(255, 118, 32, 0.08) 30%, transparent 60%),
    linear-gradient(#131415, #131415);
}

.s8lf-theme--dark .s8lf-card__pill {
  background: #131415;
  color: #d7dce4;
}

.s8lf-theme--dark .s8lf-card__date {
  color: #9ba5b3;
}

.s8lf-theme--dark .s8lf-card__divider {
  background: rgba(255, 177, 128, 0.5);
}

.s8lf-theme--dark .s8lf-filter {
  border-color: #343b45;
  background: #17191d;
  color: #f5f7fb;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.s8lf-theme--dark .s8lf-filter:hover {
  border-color: rgba(255, 122, 56, 0.42);
}

.s8lf-theme--dark .s8lf-filter.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #ff5126 0%, #ff6b1f 100%);
  color: #fff;
}

.s8lf-theme--dark .s8lf-filter__count {
  background: #242a32;
  color: #b5becb;
}

.s8lf-theme--dark .s8lf-filter.is-active .s8lf-filter__count {
  background: #fff;
  color: #ff5a1f;
}

.s8lf-theme--dark .s8lf-detail-controls {
  border-color: #2e343c;
  background: #17191d;
}

.s8lf-theme--dark .s8lf-switcher__button {
  border-color: #2e343c;
  background: #131415;
  color: #fff;
}

.s8lf-theme--dark .s8lf-switcher__button:hover {
  border-color: #4a4f57;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.s8lf-theme--dark .s8lf-switcher__text > span,
.s8lf-theme--dark .s8lf-switcher__text strong {
  color: #fff;
}

.s8lf-theme--dark .s8lf-switcher__menu {
  border-color: #2e343c;
  background: #17191d;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
}

.s8lf-theme--dark .s8lf-switcher__menu-title {
  border-color: #2e343c;
}

.s8lf-theme--dark .s8lf-switcher__option {
  color: #f5f7fb;
}

.s8lf-theme--dark .s8lf-switcher__option:hover {
  background: #22262d;
}

.s8lf-theme--dark .s8lf-switch-match {
  color: #f5f7fb;
}

.s8lf-theme--dark .s8lf-switch-match:hover {
  background: #22262d;
}

.s8lf-theme--dark .s8lf-switch-match.is-active {
  background: rgba(255, 107, 1, 0.13);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 1, 0.34);
}

.s8lf-theme--dark .s8lf-switch-match__score {
  border-color: #343b45;
  background: #131415;
  color: #ff9d5f;
}

.s8lf-state {
  display: flex;
  min-height: 130px;
  align-items: center;
  justify-content: center;
  border: 1px dashed #d7dde4;
  border-radius: 12px;
  background: #fff;
  color: #68717d;
  padding: 22px;
  text-align: center;
}

.s8lf-state--inline {
  grid-column: 1 / -1;
}

.s8lf-state--error {
  flex-direction: column;
  gap: 6px;
  border-color: #f1a290;
  background: #fff5f2;
  color: #9d2811;
}

.s8lf-detail,
.s8lf-frame {
  display: grid;
  gap: 24px;
  width: 100%;
}

.s8lf-frame__heading {
  margin-bottom: 0;
}

.s8lf-live-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(340px, 1fr);
  gap: 24px;
  align-items: stretch;
}

.s8lf-frame--player-only .s8lf-live-layout {
  grid-template-columns: minmax(0, 1fr);
}

.s8lf-frame--player-only .s8lf-chat {
  display: none;
}

.s8lf-player-panel,
.s8lf-chat {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e7ec;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.s8lf-player-panel {
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.s8lf-player-titlebar {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e5e9ee;
  padding: 12px 16px;
}

.s8lf-player-titlebar strong {
  min-width: 0;
  overflow: hidden;
  color: #171a20;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.s8lf-match-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-bottom: 1px solid #e5e9ee;
  padding: 12px 16px;
}

.s8lf-match-team {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.s8lf-match-team--left {
  justify-content: flex-end;
  text-align: right;
}

.s8lf-match-team > span {
  min-width: 0;
  overflow: hidden;
  color: #171a20;
  font-size: 16px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.s8lf-match-team--right {
  justify-content: flex-start;
  text-align: left;
}

.s8lf-match-score {
  min-width: 74px;
  padding: 9px 13px;
  font-size: 16px;
  text-align: center;
  white-space: nowrap;
}

.s8lf-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05070a;
}

.s8lf-video video,
.s8lf-video__empty {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.s8lf-video video {
  background: #05070a;
}

.s8lf-video__art,
.s8lf-video__art .art-video-player,
.s8lf-video__art video {
  width: 100%;
  height: 100%;
}

.s8lf-video__art .art-video-player {
  background: #05070a;
}

.s8lf-sound-toggle {
  appearance: none;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(8, 10, 14, 0.72);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  padding: 0 18px;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.s8lf-sound-toggle:hover,
.s8lf-sound-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 90, 31, 0.92);
  box-shadow: 0 16px 38px rgba(255, 90, 31, 0.32);
  outline: none;
  transform: translate(-50%, -50%) scale(1.03);
}

.s8lf-sound-toggle__icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.s8lf-sound-toggle svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.s8lf-video--sound-on .s8lf-sound-toggle,
.s8lf-video--empty .s8lf-sound-toggle,
.s8lf-sound-toggle[hidden] {
  display: none;
}

.s8lf-video--placeholder .art-bottom,
.s8lf-video--placeholder .art-controls,
.s8lf-video--placeholder .art-progress,
.s8lf-video--placeholder .art-settings,
.s8lf-video--placeholder .art-contextmenus {
  display: none !important;
}

.s8lf-video__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d9e1e8;
  font-weight: 800;
}

.s8lf-detail-controls {
  position: relative;
  z-index: 99999;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid #e5e9ee;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.96);
}

.s8lf-switcher {
  position: relative;
  min-width: 0;
}

.s8lf-switcher__button {
  appearance: none;
  display: flex;
  width: 100%;
  min-width: 202px;
  height: 46px;
  align-items: center;
  gap: 12px;
  border: 1px solid #e8d8cb;
  border-radius: 18px;
  background: #fff;
  color: #1f2937;
  cursor: pointer;
  font: inherit;
  padding: 0 14px;
  text-align: left;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.s8lf-switcher__button:hover {
  border-color: #ffbe98;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.s8lf-switcher__button[aria-disabled="true"] {
  cursor: default;
}

.s8lf-switcher__button[aria-disabled="true"]:hover {
  border-color: #e8d8cb;
  box-shadow: none;
  transform: none;
}

.s8lf-switcher__avatar {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(244, 124, 47, 0.12);
  color: #f47c2f;
  font-size: 14px;
  font-weight: 900;
}

.s8lf-switcher__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s8lf-switcher__avatar--match {
  background: rgba(91, 127, 255, 0.1);
  color: #5b7fff;
}

.s8lf-switcher__monitor,
.s8lf-switcher__chevron {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.s8lf-switcher__monitor {
  width: 19px;
  height: 19px;
}

.s8lf-switcher__chevron {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #8b8b95;
  transition: transform 160ms ease;
}

.s8lf-switcher.is-open .s8lf-switcher__chevron {
  transform: rotate(180deg);
}

.s8lf-switcher__text {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
}

.s8lf-switcher__text > span {
  color: #9a8f88;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.s8lf-switcher__text strong {
  min-width: 0;
  overflow: hidden;
  color: #1f2937;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.s8lf-switcher__menu {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 0;
  z-index: 99999;
  display: none;
  width: 268px;
  max-width: calc(100vw - 24px);
  overflow: hidden;
  border: 1px solid #f0d8ca;
  border-radius: 20px;
  background: #fffaf7;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.s8lf-switcher.is-open .s8lf-switcher__menu {
  display: block;
  animation: s8lf-switcher-menu-in 180ms ease both;
}

.s8lf-switcher__menu--fixtures {
  width: 430px;
}

.s8lf-switcher__menu-title {
  border-bottom: 1px solid #f3e4da;
  color: #f47c2f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  padding: 16px 18px 12px;
  text-transform: uppercase;
}

.s8lf-switcher__menu-list {
  max-height: 320px;
  overflow-y: auto;
  padding: 10px;
}

.s8lf-switcher__option {
  display: flex;
  min-width: 0;
  height: 44px;
  align-items: center;
  gap: 10px;
  border-radius: 13px;
  color: #1f2937;
  font-size: 14px;
  font-weight: 800;
  padding: 0 10px;
  transition:
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.s8lf-switcher__option:hover {
  background: #fff3ec;
}

.s8lf-switcher__option.is-active {
  background: linear-gradient(135deg, #f47c2f 0%, #ff9a5a 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(244, 124, 47, 0.32);
}

.s8lf-switcher__option > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.s8lf-switch-match {
  display: block;
  border-radius: 18px;
  color: #1f2937;
  margin-bottom: 8px;
  padding: 12px;
  transition:
    background 160ms ease,
    box-shadow 160ms ease;
}

.s8lf-switch-match:last-child {
  margin-bottom: 0;
}

.s8lf-switch-match:hover {
  background: #fff6f1;
}

.s8lf-switch-match.is-active {
  background: #fff1e8;
  box-shadow: inset 0 0 0 1px #ffd2bc;
}

.s8lf-switch-match__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.s8lf-switch-match__top span {
  min-width: 0;
  overflow: hidden;
  color: #c97a47;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.s8lf-switch-match__top strong {
  flex: 0 0 auto;
  color: #f47c2f;
  font-size: 12px;
  font-weight: 900;
}

.s8lf-switch-match__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.s8lf-switch-match__team {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.s8lf-switch-match__team--right {
  justify-content: flex-end;
  text-align: right;
}

.s8lf-switch-match__team .s8lf-team-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.s8lf-switch-match__team span {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.s8lf-switch-match__score {
  border: 1px solid #f3ddd0;
  border-radius: 10px;
  background: #fff;
  color: #f47c2f;
  font-size: 13px;
  font-weight: 900;
  padding: 7px 12px;
  white-space: nowrap;
}

.s8lf-stream-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 16px;
}

.s8lf-stream-tabs a {
  flex: 0 0 auto;
  border: 1px solid #ead8cc;
  border-radius: 18px;
  background: #fff;
  color: #414956;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 14px;
  white-space: nowrap;
}

.s8lf-stream-tabs a.is-active {
  border-color: #ff5a1f;
  background: linear-gradient(135deg, #f47c2f 0%, #ff9a5a 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(244, 124, 47, 0.28);
}

.s8lf-chat {
  display: flex;
  min-height: 620px;
  flex-direction: column;
}

.s8lf-chat--iframe {
  background: transparent;
}

.s8lf-chat__iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  border: 0;
  background: transparent;
}

.s8lf-chat__head {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e5e9ee;
  padding: 12px 16px;
}

.s8lf-chat__head strong {
  color: #171a20;
  font-size: 18px;
  font-weight: 800;
}

.s8lf-chat__head span {
  min-width: 0;
  overflow: hidden;
  color: #717a86;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.s8lf-chat__messages {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  background: #f8fafb;
}

.s8lf-message {
  width: min(84%, 360px);
  margin-bottom: 10px;
  border: 1px solid #e7ecef;
  border-radius: 10px;
  background: #fff;
  padding: 10px 11px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.s8lf-message__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.s8lf-message__meta strong {
  min-width: 0;
  overflow: hidden;
  color: #1d242d;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.s8lf-message__meta span {
  color: #8a94a1;
  font-size: 12px;
}

.s8lf-message p {
  margin: 0;
  color: #363e49;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.s8lf-chat__form {
  border-top: 1px solid #e5e9ee;
  padding: 12px 14px;
}

.s8lf-chat__form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dce4e8;
  border-radius: 10px;
  background: #fff;
  color: #151a20;
  font-size: 14px;
  padding: 0 12px;
}

.s8lf-chat__form input:focus {
  border-color: #ff7a38;
  box-shadow: 0 0 0 3px rgba(255, 122, 56, 0.16);
  outline: none;
}

.s8lf-chat__sendline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 8px;
}

.s8lf-chat__sendline button {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: #ff5a1f;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 0 18px;
}

.s8lf-chat__notice {
  min-height: 18px;
  margin: 8px 0 0;
  color: #a43016;
  font-size: 12px;
}

.s8lf-more {
  margin-top: 2px;
}

@keyframes s8lf-live-ring {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(239, 68, 68, 0.85),
      0 0 0 6px rgba(239, 68, 68, 0.2);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(239, 68, 68, 0.95),
      0 0 0 10px rgba(239, 68, 68, 0.05);
  }
}

@keyframes s8lf-filter-pop {
  0% {
    transform: translateY(0) scale(1);
  }
  52% {
    transform: translateY(-1px) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes s8lf-card-filter-in {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes s8lf-switcher-menu-in {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .s8lf-commentator__avatar.is-live,
  .s8lf-filter.is-switching,
  .s8lf-grid.is-filtered-in .s8lf-card,
  .s8lf-grid.is-filtered-in .s8lf-state--inline,
  .s8lf-switcher.is-open .s8lf-switcher__menu {
    animation: none;
  }

  .s8lf-grid.is-filtering {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .s8lf-grid,
  .s8lf-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 980px) {
  .s8lf-shortcode {
    width: calc(100vw - 12px) !important;
    margin: 16px 0 18px calc(50% - 50vw + 6px) !important;
    padding: 0;
  }

  .s8lf-page {
    padding: 6px;
  }

  .s8lf-live-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .s8lf-chat,
  .s8lf-chat__iframe {
    min-height: 560px;
  }

}

@media (max-width: 760px) {
  body:has(.s8lf-shortcode) main.wp-block-group > .wp-block-group {
    padding-top: 10px !important;
    padding-right: 0 !important;
    padding-bottom: 10px !important;
    padding-left: 0 !important;
  }

  body:has(.s8lf-shortcode) .wp-block-post-content,
  body:has(.s8lf-shortcode) .entry-content {
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body:has(.s8lf-shortcode) .wp-site-blocks,
  body:has(.s8lf-shortcode) main,
  body:has(.s8lf-shortcode) main.wp-block-group,
  body:has(.s8lf-shortcode) .is-layout-constrained > .s8lf-shortcode {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .s8lf-shortcode {
    width: calc(100vw - 12px) !important;
    margin: 8px 0 10px calc(50% - 50vw + 6px) !important;
  }

  .s8lf-page {
    padding: 6px;
  }

  .s8lf-detail,
  .s8lf-frame {
    gap: 8px;
  }

  .s8lf-player-panel,
  .s8lf-chat {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  }

  .s8lf-player-titlebar {
    min-height: 42px;
    padding: 8px 10px;
  }

  .s8lf-match-strip {
    min-height: 50px;
    padding: 8px 10px;
  }

  .s8lf-video {
    border-radius: 0 0 8px 8px;
  }

  .s8lf-sound-toggle {
    min-height: 42px;
    gap: 8px;
    font-size: 13px;
    padding: 0 14px;
  }

  .s8lf-sound-toggle__icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .s8lf-detail-controls {
    gap: 8px;
    padding: 8px;
  }

  .s8lf-switcher {
    flex: 1 1 calc(50% - 4px);
  }

  .s8lf-switcher__button {
    min-width: 0;
    height: 44px;
    gap: 8px;
    border-radius: 15px;
    padding: 0 10px;
  }

  .s8lf-switcher__avatar {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .s8lf-switcher__text > span {
    font-size: 9px;
  }

  .s8lf-switcher__text strong {
    font-size: 13px;
  }

  .s8lf-switcher__menu {
    bottom: calc(100% + 8px);
    width: min(300px, calc(100vw - 12px));
  }

  .s8lf-switcher__menu--fixtures {
    right: 0;
    left: auto;
    width: min(382px, calc(100vw - 12px));
  }

  .s8lf-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .s8lf-filterbar {
    gap: 6px;
    margin: 0 0 8px;
    padding-bottom: 0;
  }

  .s8lf-filter {
    height: 38px;
    border-radius: 10px;
    font-size: 13px;
    padding: 0 11px;
  }

  .s8lf-filter__count {
    min-width: 24px;
    height: 18px;
    font-size: 11px;
    padding: 0 7px;
  }

  .s8lf-grid,
  .s8lf-grid--compact {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .s8lf-card {
    border-radius: 12px;
    padding: 4px;
  }

  .s8lf-card__inner {
    border-radius: 9px;
    padding: 10px 10px 11px;
  }

  .s8lf-card__pill {
    padding-inline: 10px;
  }

  .s8lf-card__competition-pill {
    max-width: calc(100% - 88px);
  }

  .s8lf-card__match {
    gap: 8px;
  }

  .s8lf-card__team .s8lf-team-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    margin-bottom: 8px;
  }

  .s8lf-card__team strong {
    font-size: 13px;
  }

  .s8lf-card__center {
    min-width: 96px;
  }

  .s8lf-card__status {
    font-size: 14px;
  }

  .s8lf-card__score-pill {
    min-width: 74px;
    font-size: 15px;
    padding: 9px 14px;
  }

  .s8lf-card__countdown {
    min-width: 108px;
    padding-inline: 12px;
  }

  .s8lf-card__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .s8lf-card__commentators {
    min-height: 56px;
    justify-content: center;
    padding: 0 8px;
  }

  .s8lf-commentator {
    width: auto;
    max-width: 100%;
    justify-content: center;
    gap: 14px;
  }

  .s8lf-commentator > span:last-child {
    flex: 0 1 auto;
    max-width: min(150px, calc(100vw - 104px));
    padding: 2px 0;
    text-align: center;
  }

  .s8lf-commentator__avatar {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    border-radius: 8px;
    margin: 4px;
  }

  .s8lf-commentator__avatar img,
  .s8lf-commentator__avatar > span {
    transform: rotate(-45deg) scale(1.36);
  }

  .s8lf-match-strip {
    gap: 8px;
    padding: 8px;
  }

  .s8lf-match-team > span {
    font-size: 14px;
  }
}

@media (max-width: 560px) {
  .s8lf-player-titlebar {
    align-items: flex-start;
    flex-direction: column;
  }

  .s8lf-player-titlebar strong {
    white-space: normal;
  }

  .s8lf-match-score {
    min-width: 64px;
    padding: 8px 10px;
    font-size: 14px;
    text-align: center;
  }

  .s8lf-chat__sendline {
    grid-template-columns: 1fr;
  }

  .s8lf-card__top {
    gap: 10px;
  }

  .s8lf-card__pill {
    min-height: 26px;
    font-size: 10px;
  }

  .s8lf-card__match {
    gap: 8px;
  }

  .s8lf-card__team strong {
    white-space: normal;
  }

  .s8lf-card__center {
    min-width: 86px;
  }

  .s8lf-card__score-pill {
    min-width: 70px;
    font-size: 14px;
    padding: 8px 12px;
  }

  .s8lf-card__countdown {
    min-width: 98px;
  }

  .s8lf-commentator {
    max-width: 100%;
  }
}
