body.streamwatch-player-room {
  background: #111f1b;
}

body.streamwatch-player-room #root > .min-h-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 750px) minmax(300px, 1fr);
  grid-template-areas:
    "header header"
    "bar bar"
    "hero hero"
    "ad ad"
    "main side";
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 110px;
  background: #112c27;
  color: #fff;
}

body.streamwatch-player-room #root > .min-h-screen::before {
  content: "";
  grid-area: header;
  display: block;
  min-height: 12px;
}

body.streamwatch-player-room #root > .min-h-screen > .flex-none:first-child {
  grid-area: bar;
  order: 0;
  min-height: 52px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px 10px 0 0;
  background: #1e1e1e;
  z-index: 2;
}

body.streamwatch-player-room #root > .min-h-screen > .flex-none.relative {
  grid-area: hero;
  align-self: end;
  margin-top: -20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: #000;
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
  z-index: 1;
}

body.streamwatch-player-room #root > .min-h-screen > .flex-none:first-child button,
body.streamwatch-player-room #root > .min-h-screen > .flex-none:first-child [class*="rounded-full"] {
  position: relative;
  z-index: 3;
}

body.streamwatch-player-room #root > .min-h-screen > .flex-none.relative::before {
  content: "Live video";
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7eba25, #068d50);
  color: #07120d;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

body.streamwatch-player-room video {
  width: 100%;
  height: 100%;
  max-height: 68vh;
  background: #000;
}

body.streamwatch-player-room .streamwatch-fallback-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  max-height: 68vh;
  border: 0;
  background: #000;
}

body.streamwatch-player-room .streamwatch-video-message {
  position: absolute;
  left: 50%;
  bottom: 58px;
  z-index: 4;
  width: min(520px, calc(100% - 32px));
  transform: translateX(-50%);
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(0,0,0,.78);
  color: #f4faf7;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

body.streamwatch-player-room #root > .min-h-screen > .flex-none.bg-background\/90 {
  grid-area: main;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  background: #1e1e1e;
}

body.streamwatch-player-room #root > .min-h-screen > .bg-background.border-t {
  grid-area: main;
  margin-top: 116px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  background: #1e1e1e;
}

body.streamwatch-player-room .streamwatch-room-side {
  grid-area: side;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

body.streamwatch-player-room .streamwatch-back-button {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px 0 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: #1e1e1e;
  color: #f4faf7;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

body.streamwatch-player-room .streamwatch-back-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.streamwatch-player-room .streamwatch-room-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  background: #1e1e1e;
}

body.streamwatch-player-room .streamwatch-room-card h2 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 900;
}

body.streamwatch-player-room .streamwatch-room-card h3 {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

body.streamwatch-player-room .streamwatch-room-card p {
  margin: 6px 0 0;
  color: rgba(255,255,255,.64);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

body.streamwatch-player-room .streamwatch-room-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.08);
}

body.streamwatch-player-room .streamwatch-room-tabs span {
  padding: 12px 8px;
  background: #183a34;
  color: #dce7e2;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(100%, 1220px);
  max-width: 1220px;
  padding: 0 16px 96px;
}

body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center::before {
  min-height: 12px;
}

body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center > .flex-none:first-child,
body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center > .flex-none.relative {
  margin: 0;
}

body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center > .flex-none:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 6px 10px;
}

body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center > .flex-none.relative {
  aspect-ratio: 16 / 9;
  min-height: 420px;
  max-height: 68vh;
}

body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center .streamwatch-match-video,
body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center .streamwatch-empty-player,
body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center .streamwatch-fallback-frame {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 68vh;
}

body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center .streamwatch-room-side {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center .streamwatch-room-tabs {
  width: 100%;
  border-radius: 8px;
}

body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center .streamwatch-room-tabs span {
  min-height: 44px;
  display: grid;
  place-items: center;
}

body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center .streamwatch-room-card {
  width: 100%;
  box-sizing: border-box;
}

body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center .streamwatch-scoreline {
  grid-template-columns: minmax(0, 1fr) minmax(74px, auto) minmax(0, 1fr);
  gap: 16px;
}

body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center .streamwatch-scoreline span {
  font-size: clamp(15px, 2vw, 22px);
}

body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center .streamwatch-scoreline strong {
  min-width: 74px;
  min-height: 52px;
  display: grid;
  place-items: center;
  font-size: 22px;
}

body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center .streamwatch-stat-table div {
  grid-template-columns: minmax(72px, 120px) minmax(0, 1fr) minmax(72px, 120px);
  min-height: 42px;
}

body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center .streamwatch-lineups {
  gap: 16px;
}

.streamwatch-auto-ad,
body.streamwatch-player-room .streamwatch-room-ad {
  position: relative;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  clear: both;
  overflow: hidden;
  border: 1px dashed rgba(126,186,37,.5);
  border-radius: 10px;
  background: rgba(0,0,0,.24);
  color: rgba(255,255,255,.54);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.streamwatch-auto-ad {
  box-sizing: border-box;
  grid-column: 1 / -1;
  width: min(100%, 1180px);
  min-height: 112px;
  max-height: 260px;
  margin: 18px auto;
  background: linear-gradient(180deg, rgba(24,58,52,.78), rgba(0,0,0,.26));
}

.streamwatch-auto-ad span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.72);
}

body.streamwatch-home-enhanced .sticky + .streamwatch-auto-ad {
  margin-top: 14px;
  margin-bottom: 8px;
}

body.streamwatch-home-enhanced #root main.streamwatch-home-main > section:first-child {
  grid-template-columns: 1fr !important;
}

body.streamwatch-home-enhanced #root main.streamwatch-home-main > section:first-child > *,
body.streamwatch-home-enhanced #root main.streamwatch-home-main > section:first-child > section {
  width: 100%;
  max-width: none;
}

body.streamwatch-home-enhanced #root main.streamwatch-home-main > .streamwatch-auto-ad,
body.streamwatch-home-enhanced #root main.streamwatch-home-main > section + .streamwatch-auto-ad {
  width: 100%;
}

.streamwatch-page-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.streamwatch-page-tabs a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.streamwatch-page-tabs a.is-active,
.streamwatch-page-tabs a:hover {
  border-color: rgba(180,255,0,.45);
  color: #b4ff00;
}

.streamwatch-custom-main {
  max-width: 1248px;
}

.streamwatch-custom-title {
  margin: 0 0 18px;
  color: #fff;
  font-size: 24px;
  font-weight: 950;
}

.streamwatch-custom-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.streamwatch-custom-actions .streamwatch-back-button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: #f4faf7;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.streamwatch-custom-actions .streamwatch-back-button:hover {
  border-color: rgba(180,255,0,.45);
  color: #b4ff00;
}

.streamwatch-custom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.streamwatch-match-card {
  position: relative;
  min-height: 94px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 12px 72px 12px 13px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 7px;
  background: rgba(0,0,0,.25);
  color: #fff;
  text-decoration: none;
}

.streamwatch-match-card:hover {
  border-color: rgba(180,255,0,.45);
}

.streamwatch-match-card span {
  min-width: 0;
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

.streamwatch-match-card b {
  min-width: 0;
  color: #fff;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.streamwatch-match-card em,
.streamwatch-match-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.72);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

body.streamwatch-player-room .streamwatch-empty-player {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #111;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

body.streamwatch-player-room .streamwatch-empty-player > div {
  width: min(520px, 100%);
  display: grid;
  justify-items: center;
  gap: 12px;
}

body.streamwatch-player-room .streamwatch-empty-player strong {
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
}

body.streamwatch-player-room .streamwatch-empty-player span {
  color: rgba(255,255,255,.66);
  font-size: 13px;
  line-height: 1.45;
}

body.streamwatch-player-room .streamwatch-empty-player a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  background: #7eba25;
  color: #07120d;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
}

.streamwatch-native-ad {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 1 !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 96px;
  max-height: 250px;
  padding: 0 !important;
  transform: none !important;
  overflow: hidden !important;
}

#container-96107afe1bad49928448f9f08db423e4 {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  top: auto !important;
  z-index: 1 !important;
  transform: none !important;
  overflow: hidden !important;
}

.streamwatch-native-ad:empty::before {
  content: "Sponsored";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.streamwatch-auto-ad .streamwatch-native-ad > *,
.streamwatch-auto-ad iframe,
.streamwatch-auto-ad img,
.streamwatch-auto-ad div {
  max-width: 100% !important;
}

.streamwatch-auto-ad iframe,
.streamwatch-auto-ad img {
  max-height: 240px !important;
}

.streamwatch-inline-ad-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.84);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

body.streamwatch-home-enhanced [aria-hidden="true"] {
  pointer-events: none;
}

body.streamwatch-player-room .streamwatch-player-ad {
  width: 100%;
  margin: 0;
}

body.streamwatch-player-room #container-96107afe1bad49928448f9f08db423e4 {
  position: static;
  grid-area: ad;
  transform: none;
  max-width: none;
  min-height: 90px;
  border: 1px dashed rgba(126,186,37,.55);
  border-radius: 10px;
  background: rgba(0,0,0,.25);
}

body.streamwatch-player-room .streamwatch-scoreline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

body.streamwatch-player-room .streamwatch-scoreline span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

body.streamwatch-player-room .streamwatch-scoreline span:last-child {
  text-align: right;
}

body.streamwatch-player-room .streamwatch-scoreline strong {
  min-width: 66px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #7eba25;
  color: #07120d;
  text-align: center;
  font-size: 18px;
  font-weight: 1000;
}

body.streamwatch-player-room .streamwatch-data-pair {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

body.streamwatch-player-room .streamwatch-data-pair span {
  color: rgba(255,255,255,.5);
  font-size: 12px;
  font-weight: 800;
}

body.streamwatch-player-room .streamwatch-data-pair strong {
  min-width: 0;
  color: #fff;
  font-size: 13px;
  overflow-wrap: anywhere;
}

body.streamwatch-player-room .streamwatch-stat-table {
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
}

body.streamwatch-player-room .streamwatch-stat-table div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  background: rgba(255,255,255,.035);
}

body.streamwatch-player-room .streamwatch-stat-table span {
  min-width: 0;
  color: rgba(255,255,255,.66);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

body.streamwatch-player-room .streamwatch-stat-table strong {
  color: #fff;
  text-align: center;
  font-size: 13px;
}

body.streamwatch-player-room .streamwatch-lineups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.streamwatch-player-room .streamwatch-lineup-team {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

body.streamwatch-player-room .streamwatch-lineup-team > span {
  min-height: 18px;
  color: rgba(255,255,255,.48);
  font-size: 11px;
  font-weight: 800;
}

body.streamwatch-player-room .streamwatch-player-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 7px;
  border-radius: 7px;
  background: rgba(255,255,255,.045);
}

body.streamwatch-player-room .streamwatch-player-row b,
body.streamwatch-player-room .streamwatch-player-row em {
  color: rgba(255,255,255,.62);
  font-size: 11px;
  font-style: normal;
  text-align: center;
}

body.streamwatch-player-room .streamwatch-player-row span {
  min-width: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

body.streamwatch-player-room .streamwatch-source-link {
  display: inline-flex;
  margin-top: 12px;
  color: #b4ff00;
  font-size: 13px;
  font-weight: 900;
}

body.streamwatch-player-room .streamwatch-muted {
  color: rgba(255,255,255,.58);
}

body.streamwatch-player-room a[rel*="sponsored"] {
  left: 16px;
  bottom: 18px;
  border-radius: 8px;
  background: rgba(0,0,0,.82);
}

@media (max-width: 900px) {
  body.streamwatch-player-room #root > .min-h-screen {
    display: flex;
    max-width: none;
    padding: 0 0 96px;
    gap: 0;
  }

  body.streamwatch-player-room #root > .min-h-screen::before {
    display: none;
  }

  body.streamwatch-player-room #root > .min-h-screen > .flex-none:first-child,
  body.streamwatch-player-room #root > .min-h-screen > .flex-none.relative,
  body.streamwatch-player-room #root > .min-h-screen > .flex-none.bg-background\/90,
  body.streamwatch-player-room #root > .min-h-screen > .bg-background.border-t {
    margin: 0 12px 12px;
    border-radius: 10px;
  }

  body.streamwatch-player-room .streamwatch-room-side {
    margin: 0 12px 12px;
  }

  body.streamwatch-player-room .streamwatch-room-tabs {
    grid-template-columns: repeat(5, minmax(58px, 1fr));
    overflow-x: auto;
  }

  body.streamwatch-player-room .streamwatch-lineups {
    grid-template-columns: 1fr;
  }

  body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center {
    padding: 0 12px 88px;
  }

  body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center > .flex-none.relative {
    min-height: 220px;
    max-height: none;
  }

  body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center .streamwatch-match-video,
  body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center .streamwatch-empty-player,
  body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center .streamwatch-fallback-frame {
    min-height: 220px;
    max-height: none;
  }

  body.streamwatch-player-room #root > .min-h-screen.streamwatch-match-center .streamwatch-scoreline {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .streamwatch-page-tabs {
    max-width: 100%;
    overflow-x: auto;
  }

  .streamwatch-page-tabs a {
    padding: 0 10px;
    font-size: 12px;
  }

  .streamwatch-custom-grid {
    grid-template-columns: 1fr;
  }

  .streamwatch-auto-ad {
    width: calc(100% - 24px);
    min-height: 86px;
    margin: 14px auto;
  }
}
