/* 3OT · room.css
   Live game rooms (/watch/...).
*/

body.lg-watch-body {
  background: #080b11;
  overflow: hidden;
}

body.lg-watch-body #header {
  position: sticky;
  top: 0;
}

body.lg-watch-body #layoutwrap {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 8px 10px !important;
}

body.lg-watch-body #leftcolumn,
body.lg-watch-body #rightcolumn,
body.lg-watch-body footer {
  display: none;
}

body.lg-watch-body #maincolumn {
  width: 100%;
  max-width: none;
}

.lg-watch {
  --lg-bg: #0c1119;
  --lg-panel: #111823;
  --lg-panel-soft: #151d29;
  --lg-line: #2a3443;
  --lg-line-soft: rgba(255,255,255,.08);
  --lg-text: #f3f6fb;
  --lg-muted: #9aa6b8;
  --lg-orange: #ff8a19;
  --lg-orange-soft: rgba(255,138,25,.16);
  --lg-green: #47d777;
  --lg-red: #ff817e;
  width: 100%;
  height: calc(100vh - 84px);
  display: grid;
  grid-template-areas: "ticker ticker" "score score" "plays chat" "away home";
  color: var(--lg-text);
  overflow: hidden;
  height: calc(100dvh - 78px);
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  grid-template-rows: auto 76px minmax(0, 1fr) minmax(0, .82fr);
  gap: 8px;
  padding-bottom: 20px;
  --rh-panel: #121a25;
  --rh-soft: #151d29;
  --rh-line: rgba(255,255,255,.08);
  --rh-line2: #2a3443;
  --rh-muted: #9aa6b8;
  --rh-orange: #ff8a19;
  --rh-orange2: #ffb11a;
  --rh-green: #47d777;
  --rh-red: #ff6b6b;
}

.lg-panel,
.lg-score-panel {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #121a25, #0d131d);
  border: 1px solid var(--lg-line-soft);
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
  border-radius: 13px !important;
}

.lg-score-panel {
  grid-area: score;
  padding: 10px;
}

.lg-play-panel {
  grid-area: plays;
}

.lg-chat-panel {
  grid-area: chat;
}

.lg-box-away {
  grid-area: away;
}

.lg-box-home {
  grid-area: home;
}

.lg-panel {
  display: flex;
  flex-direction: column;
}

.lg-panel-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #101722;
  border-bottom: 1px solid var(--lg-line-soft);
  font-weight: 700;
  font-family: "Roboto Condensed", sans-serif;
  min-height: 36px;
  padding: 8px 10px !important;
}

.lg-panel-head h2 {
  margin: 0;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--orange) !important;
  font-size: 18px;
}

.lg-panel-head p {
  margin: 0;
  color: var(--lg-muted);
  font-size: 14px;
  font-weight: 700;
}

.lg-play-head {
  font-weight: 700;
}

.lg-period-tabs {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  overflow-x: auto;
  padding: 2px 0;
  gap: 4px;
}

.lg-period-tab {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
}

.lg-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.lg-empty {
  border: 1px solid var(--lg-line);
  background: #101722;
  border-radius: 14px;
  padding: 16px;
  color: var(--lg-muted);
  text-align: center;
  font-size: 14px;
}

.lg-score-wrap {
  width: 100%;
}

.lg-score-team {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--team-primary, #17202d);
  border-bottom: 8px solid var(--team-secondary, #3a4658);
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
  overflow: hidden;
  border-width: 2px !important;
  border-radius: 11px !important;
  height: 86px;
  min-height: 86px;
  align-self: stretch;
}

.lg-score-team.away {
  justify-content: flex-end;
  padding: 0 16px 0 12px;
  text-align: right;
}

.lg-score-team.home {
  justify-content: flex-start;
  padding: 0 12px 0 16px;
  text-align: left;
}

.lg-score-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1;
  color: #fff;
  font-weight: 400;
  font-family: "Roboto Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 20px;
}

.lg-score-number {
  flex: 0 0 auto;
  text-align: center;
  color: #fff;
  line-height: .9;
  font-weight: 500;
  font-family: "League Gothic", sans-serif;
  font-size: 60px;
  min-width: 62px;
}

.lg-score-center {
  text-align: center;
  min-width: 330px;
  height: 86px;
  min-height: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0 !important;
  overflow: visible;
}

.lg-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--lg-line);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-weight: 500;
  letter-spacing: .04em;
  font-family: "Roboto Condensed", sans-serif !important;
  min-height: 20px;
  padding: 0 8px;
  font-size: 10px;
}

.lg-status.live {
  border-color: rgba(71,215,119,.55);
  background: rgba(71,215,119,.13);
  color: #8dffb1;
}

.lg-status.final {
  display: none;
}

.lg-status.scheduled {
  border-color: rgba(102,177,255,.45);
  background: rgba(102,177,255,.10);
  color: #b9ddff;
}

.lg-clock {
  color: #fff;
  line-height: 1;
  font-weight: 500;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 25px;
}

.lg-updated {
  color: var(--lg-muted);
  line-height: 1.2;
  font-size: 10px;
  display: none;
}

.lg-play-row {
  display: grid;
  background: var(--lg-panel-soft);
  border: 1px solid var(--lg-line);
  grid-template-columns: 48px minmax(0,1fr);
  gap: 8px;
  padding: 7px 8px;
  margin-bottom: 6px;
  border-radius: 12px;
}

.lg-play-row.scoring {
  border-color: var(--lg-orange);
  background: linear-gradient(180deg, #151f2b, #111925);
}

.lg-play-time strong,
.lg-play-time span {
  display: block;
  font-weight: 500;
  line-height: 1.1;
}

.lg-play-time strong {
  color: #fff;
  font-size: 16px;
}

.lg-play-time span {
  margin-top: 4px;
  color: var(--lg-muted);
}

.lg-play-copy {
  min-width: 0;
}

.lg-play-team {
  display: block;
  margin-bottom: 4px;
  color: #ffb11a;
  line-height: 1.1;
  font-weight: 500;
}

.lg-play-text {
  margin: 0;
  color: #eef3fb;
  font-weight: 400;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.25;
}

.lg-score-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lg-orange), #ffb11a);
  color: #180f06;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
  padding: 3px 7px;
  margin-left: 10px;
  vertical-align: middle;
}

.lg-score-chip b,
.lg-score-chip i {
  font-style: normal;
  font-weight: 500;
}

.lg-reactions {
  grid-template-columns: auto 1fr;
  overflow: visible;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  min-height: 28px;
}

.lg-react-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  overflow: visible;
}

.lg-react-trigger,
.lg-react-option,
.lg-react-total {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", Inter, sans-serif;
}

.lg-react-trigger {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #657184;
  background: transparent;
  color: #d7dfec;
  font-size: 15px;
  line-height: 1;
}

.lg-react-trigger.has-mine,
.lg-react-trigger:hover,
.lg-react-wrap.open .lg-react-trigger {
  border-color: var(--lg-orange);
  background: var(--lg-orange-soft);
  color: #fff;
}

.lg-react-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 36px;
  z-index: 100;
  width: max-content;
  max-width: min(460px, calc(100vw - 30px));
  padding: 7px;
  border-radius: 18px;
  border: 1px solid rgba(255,138,25,.55);
  background: #070b12;
  box-shadow: 0 18px 42px rgba(0,0,0,.55);
  grid-template-columns: repeat(10, 34px);
  gap: 5px;
}

.lg-react-wrap.open .lg-react-menu,
.lg-react-wrap:hover .lg-react-menu {
  display: grid;
}

.lg-react-option {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 21px;
  line-height: 1;
  background: transparent;
}

.lg-react-option:hover,
.lg-react-option.active {
  background: rgba(255,138,25,.16);
}

.lg-react-totals {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.lg-react-totals:empty {
  display: none;
}

.lg-react-total {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--lg-orange);
  background: transparent;
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

.lg-react-total span {
  font-size: 17px;
  line-height: 1;
}

.lg-react-total em {
  font-style: normal;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
}

.lg-react-total.active {
  background: var(--lg-orange-soft);
}

.lg-chat-thread {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.lg-chat-form {
  flex: 0 0 auto;
  border-top: 1px solid var(--lg-line-soft);
  padding: 8px;
  display: grid !important;
  grid-template-columns: 1fr auto auto;
  gap: 7px;
  align-items: stretch;
}

.lg-chat-form textarea {
  width: 100%;
  max-height: 82px;
  resize: none;
  grid-column: 1 / 2;
  padding: 10px 12px;
  font-size: 13px;
  min-height: 46px;
  height: 46px;
}

.lg-chat-actions {
  justify-content: flex-end;
  gap: 8px;
  grid-column: 3 / 4;
  margin: 0;
}

.lg-send-button {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lg-box-panel {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.lg-box-team-block {
  margin: 0;
}

.lg-box-team-block h3 {
  display: none;
}

.lg-box-table-wrap {
  overflow: auto;
  border: 1px solid var(--lg-line);
  border-radius: 14px;
  background: #0f141d;
}

.lg-box-table {
  width: 100%;
  min-width: 700px;
  border-collapse: separate;
  border-spacing: 0;
}

.lg-box-table th,
.lg-box-table td {
  border-bottom: 1px solid rgba(255,255,255,.06);
  text-align: center;
  white-space: nowrap;
  padding: 7px 8px;
  font-size: 12px;
}

.lg-box-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #121a25;
  color: #9da9ba;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.lg-box-table .lg-player-col {
  position: sticky;
  left: 0;
  z-index: 3;
  background: #101722;
  text-align: left;
}

.lg-name-short {
  display: none;
}

@media (max-width: 900px) {
  .lg-name-full {
    display: none;
  }
  .lg-name-short {
    display: inline;
  }
}

.lg-box-player-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.lg-box-player-main strong {
  display: inline;
  color: #f2f6fd;
  line-height: 1.12;
  font-size: 13px;
}

.lg-player-pos {
  display: inline-flex;
  align-items: center;
  padding: 0 5px;
  border-radius: 999px;
  border: 1px solid var(--lg-line);
  background: #18212f;
  color: #aab5c5;
  line-height: 1;
  font-weight: 500;
  min-height: 16px;
  font-size: 9px;
}

.lg-player-react-line {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: visible;
}

.lg-player-react-line .lg-react-menu {
  top: 32px;
}

.lg-player-react-line .lg-react-total {
  min-height: 26px;
  padding: 0 7px;
}

.lg-player-react-line .lg-react-total span {
  font-size: 15px;
}

.lg-player-react-line .lg-react-total em {
  font-size: 11px;
}

@media (max-width: 900px) {
  .lg-score-team.home {
    flex-direction: row-reverse;
    justify-content: flex-start;
    padding: 0 8px;
    text-align: left;
    grid-column: 3;
    grid-row: 1;
  }
  .lg-panel {
    min-height: 260px;
    max-height: none;
  }
  .lg-play-head {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 7px;
  }
  .lg-reactions {
    grid-template-columns: 1fr;
    flex-direction: row;
    align-items: center;
  }
  .lg-react-menu {
    position: static;
    margin-top: 7px;
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(34px, 1fr));
  }
  .lg-react-wrap {
    display: block;
    width: 100%;
  }
  .lg-player-react-line {
    align-items: flex-start;
  }
}

.lg-watch .lg-score-team {
  background: radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--team-secondary, #ffb11a) 34%, transparent), transparent 34%), linear-gradient(145deg, var(--team-primary, #17202d) 0%, #0b111a 58%, var(--team-secondary, #3a4658) 135%) !important;
  border-color: color-mix(in srgb, var(--team-secondary, #3a4658) 75%, #ffffff 10%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), 0 12px 26px rgba(0,0,0,.30);
}

.lg-watch .lg-react-trigger,
.lg-watch .lg-react-option,
.lg-watch .lg-react-total,
.lg-watch .lg-period-tab,
.lg-watch .lg-send-button {
  all: unset !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", Inter, sans-serif !important;
  font-weight: 400 !important;
  box-shadow: none !important;
}

.lg-watch .lg-react-trigger {
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  border: 1px solid #667184 !important;
  line-height: 1 !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  font-size: 19px !important;
  background: #161f2c !important;
  border-color: #586478 !important;
  color: #9aa5b7 !important;
  filter: grayscale(1) saturate(.15) opacity(.76) !important;
}

.lg-watch .lg-react-menu {
  display: none !important;
  position: fixed;
  z-index: 2147483000;
  width: max-content;
  max-width: min(520px, calc(100vw - 16px));
  padding: 8px;
  border-radius: 18px;
  box-shadow: 0 22px 64px rgba(0,0,0,.72);
  grid-template-columns: repeat(auto-fill, 40px);
  gap: 7px;
}

.lg-watch .lg-react-wrap.open .lg-react-menu {
  display: grid !important;
}

.lg-watch .lg-react-option {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  font-size: 27px !important;
  line-height: 1 !important;
}

.lg-watch .lg-react-total {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  border: 1px solid var(--lg-orange) !important;
  background: #141d29 !important;
  color: #fff !important;
  line-height: 1 !important;
  padding: 0 7px !important;
  gap: 4px !important;
  flex: 0 0 auto !important;
}

.lg-watch .lg-react-total span {
  line-height: 1 !important;
  font-size: 17px !important;
}

.lg-watch .lg-react-total em {
  font-style: normal !important;
  line-height: 1 !important;
  font-weight: 500 !important;
}

.lg-watch .lg-react-total.active {
  background: rgba(255,138,25,.15) !important;
}

.lg-watch .lg-box-player-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  overflow: visible;
  gap: 4px;
}

.lg-watch .lg-box-player-main {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}

.lg-watch .lg-box-player-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lg-watch .lg-player-react-line {
  overflow: visible;
  min-height: 28px;
}

.lg-watch .lg-box-table .lg-player-col {
  overflow: visible;
  min-width: 220px;
  max-width: 250px;
}

.lg-watch .lg-box-table th,
.lg-watch .lg-box-table td,
.lg-watch .lg-box-player-main strong,
.lg-watch .lg-player-pos,
.lg-watch .lg-score-name,
.lg-watch .lg-score-number,
.lg-watch .lg-clock,
.lg-watch .lg-status,
.lg-watch .lg-panel-head h2 {
  font-weight: 500 !important;
}

@media (max-width: 900px) {
  .lg-watch .lg-react-menu {
    max-width: calc(100vw - 16px);
    grid-template-columns: repeat(auto-fill, 40px);
  }
  .lg-watch .lg-reactions {
    grid-template-columns: 1fr;
  }
}

.lg-panel-head p {
  display: none;
}

.lg-scroll,
.lg-chat-thread,
.lg-box-panel {
  padding: 7px !important;
}

.lg-play-time span,
.lg-play-team,
.lg-score-chip {
  font-size: 10px !important;
}

.lg-watch .lg-react-total {
  height: 26px !important;
  min-height: 26px !important;
  font-size: 12px !important;
}

.lg-watch .lg-react-total em {
  font-size: 12px !important;
}

.lg-watch .lg-react-wrap.open > .lg-react-menu {
  display: none !important;
}

.lg-react-menu-portal {
  display: grid !important;
  position: fixed !important;
  z-index: 2147483647 !important;
  width: max-content !important;
  max-width: min(430px, calc(100vw - 16px)) !important;
  box-shadow: 0 22px 64px rgba(0,0,0,.78) !important;
  grid-template-columns: repeat(8, 32px) !important;
  gap: 4px !important;
}

.lg-chat-form .composer-tools {
  grid-column: 2 / 3;
  margin: 0;
}

.lg-chat-form .emoji-picker-trigger {
  width: 38px;
  min-width: 38px;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1px solid #2d3848 !important;
  background: #151d29 !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px;
  cursor: pointer !important;
  height: 46px;
  min-height: 46px !important;
  align-self: stretch;
}

.lg-chat-form .emoji-picker-popover {
  position: absolute;
  z-index: 2147482000;
  display: none;
  padding: 8px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,138,25,.55);
  background: #070b12 !important;
  box-shadow: 0 20px 48px rgba(0,0,0,.65);
  left: auto;
  right: 0;
  bottom: 54px;
  width: min(286px, calc(100vw - 26px));
  max-width: calc(100vw - 26px);
  max-height: min(320px, 52vh);
  overflow: auto;
  transform: none;
  grid-template-columns: repeat(5, 44px);
  gap: 7px;
}

.lg-chat-form .emoji-picker-wrap.open .emoji-picker-popover {
  display: grid !important;
}

.lg-send-button,
.lg-watch .lg-send-button {
  padding: 0 14px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255,138,25,.75) !important;
  background: linear-gradient(135deg,#ff8a19,#ffb11a) !important;
  color: #160d05 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  height: 46px !important;
  min-height: 46px !important;
  padding-left: 34px !important;
  padding-right: 34px !important;
  align-self: stretch !important;
}

.lg-period-tab,
.lg-watch .lg-period-tab {
  min-height: 24px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,138,25,.42) !important;
  background: #151d29 !important;
  color: #dce4ef !important;
  font-size: 11px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.lg-period-tab.active,
.lg-period-tab:hover {
  background: rgba(255,138,25,.18) !important;
  border-color: #ff8a19 !important;
}

.lg-watch .lg-player-react-line .lg-react-trigger {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  font-size: 19px !important;
}

.lg-watch .lg-player-react-line .lg-react-total {
  height: 26px !important;
  min-height: 26px !important;
  padding: 0 7px !important;
}

@media (max-width: 900px) {
  .lg-panel-head {
    flex-direction: row;
    align-items: center !important;
    min-height: 34px;
  }
  .lg-period-tabs {
    justify-content: flex-end;
  }
  .lg-play-row {
    grid-template-columns: 42px minmax(0,1fr);
  }
  .lg-play-text {
    font-size: 13px;
  }
  .lg-score-chip {
    display: inline-flex;
    margin: 5px 0 0 12px;
  }
  .lg-watch .lg-box-table .lg-player-col {
    min-width: 118px;
    max-width: 128px;
    width: 118px;
    padding-left: 8px;
    padding-right: 6px;
  }
  .lg-watch .lg-box-player-main {
    gap: 4px;
  }
  .lg-watch .lg-box-player-main strong {
    font-size: 12.5px;
  }
  .lg-watch .lg-box-player-main .lg-player-pos {
    display: none;
  }
  .lg-watch .lg-box-table th:not(.lg-player-col),
  .lg-watch .lg-box-table td:not(.lg-player-col) {
    padding-left: 6px;
    padding-right: 6px;
  }
}

.lg-react-menu-portal {
  padding: 7px !important;
  border-radius: 14px !important;
}

.lg-react-menu-portal .lg-react-option,
.lg-react-menu-portal button {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  font-size: 25px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  filter: none !important;
}

.lg-react-menu-portal .lg-react-option:hover,
.lg-react-menu-portal button:hover {
  transform: scale(1.12) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.lg-chat-form .composer-tools,
.lg-chat-actions {
  align-self: stretch;
  display: flex;
  align-items: stretch;
}

.lg-chat-form .emoji-picker-wrap {
  display: flex !important;
  align-items: stretch;
  position: relative;
}

body.watch-mode #headerright .header-menu-wrap,
#headerright .header-menu-wrap {
  display: flex;
  visibility: visible;
  opacity: 1;
  flex: 0 0 auto;
}

body.watch-mode .hamburger,
.hamburger {
  display: grid;
  visibility: visible;
  opacity: 1;
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

@media (max-width: 900px) {
  .lg-score-team.away {
    justify-content: flex-end;
    padding: 0 8px;
    text-align: right;
    grid-column: 1;
    grid-row: 1;
  }
  .lg-score-team {
    min-width: 0;
    height: 46px;
    min-height: 46px;
  }
  .lg-score-number {
    min-width: 36px;
    font-size: 42px;
  }
  .lg-score-name {
    font-size: 14px;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap;
  }
  .lg-status {
    font-size: 9px;
  }
  .lg-updated {
    font-size: 9px;
  }
  .lg-play-text .lg-score-chip {
    display: inline-flex !important;
  }
  .lg-react-menu-portal {
    grid-template-columns: repeat(5, 32px) !important;
  }
  .lg-chat-form {
    grid-template-columns: 1fr auto;
    align-items: stretch;
  }
  .lg-chat-form textarea {
    grid-column: 1 / 3;
    height: 54px;
    min-height: 54px;
  }
  .lg-chat-form .composer-tools {
    grid-column: 1 / 2;
  }
  .lg-chat-actions {
    grid-column: 2 / 3;
  }
  .lg-send-button,
  .lg-watch .lg-send-button {
    padding-left: 34px !important;
    padding-right: 34px !important;
  }
  .lg-chat-form .emoji-picker-trigger {
    width: 50px;
    min-width: 50px;
  }
  .lg-chat-form .emoji-picker-popover {
    left: 0;
    right: auto;
    bottom: 58px;
    width: min(286px, calc(100vw - 30px));
    grid-template-columns: repeat(5, 44px);
  }
  #headerright {
    gap: 14px;
  }
}

.lg-watch .lg-play-row {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 120px 10px 10px;
  padding-right: 126px;
  position: relative;
}

.lg-watch .lg-play-text {
  padding-right: 0;
}

.lg-watch .lg-react-trigger.has-mine,
.lg-watch .lg-react-trigger:hover,
.lg-watch .lg-react-wrap.open .lg-react-trigger {
  border-color: #667184 !important;
  background: #161f2c !important;
  color: #9aa5b7 !important;
  filter: grayscale(1) saturate(.15) opacity(.9) !important;
}

.lg-watch .lg-react-menu,
.lg-react-menu-portal {
  border: 1px solid rgba(255,138,25,.45);
  background: #070b12 !important;
  overflow: hidden;
}

.lg-watch .lg-react-option,
.lg-react-menu-portal .lg-react-option {
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.lg-watch .lg-react-option:hover,
.lg-watch .lg-react-option.active,
.lg-react-menu-portal .lg-react-option:hover,
.lg-react-menu-portal .lg-react-option.active {
  border: 0 !important;
  background: transparent !important;
  transform: scale(1.12) !important;
}

@media (max-width: 760px) {
  .lg-watch .lg-play-row {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 8px;
    padding: 10px 100px 10px 10px;
  }
  .lg-watch .lg-score-chip {
    vertical-align: top;
  }
}

.lg-watch .lg-play-row.scoring {
  border-color: var(--lg-line);
  background: var(--lg-panel-soft);
}

.lg-watch .lg-reactions,
.lg-watch .lg-player-react-line {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 8px;
  min-width: 0;
}

.lg-watch .lg-react-wrap {
  display: inline-flex;
  flex: 0 0 auto;
  order: 0;
}

.lg-watch .lg-react-totals,
.lg-watch .lg-player-reaction-totals {
  display: inline-flex;
  flex: 0 1 auto;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
  order: 1;
}

@media (max-width: 760px) {
  .lg-watch .lg-score-chip,
  .lg-watch .lg-play-text .lg-score-chip {
    display: inline-flex !important;
  }
  .lg-watch .lg-play-text {
    padding-right: 0;
  }
  .lg-watch .lg-reactions,
  .lg-watch .lg-player-react-line {
    flex-wrap: nowrap;
    gap: 5px;
  }
  .lg-watch .lg-react-totals,
  .lg-watch .lg-player-reaction-totals {
    flex-wrap: wrap;
    gap: 4px;
  }
}

.lg-mobile-tabs {
  display: none;
}

.lg-box-tab-wrap {
  display: contents;
}

.lg-watch .lg-score-chip {
  font-weight: 700 !important;
  letter-spacing: .01em;
}

@media (max-width: 900px) {
  /* Phone room: an ordinary scrolling page. Each tab's panel is as tall as its content (chat is
     the exception: a fixed-height window so new messages and the message box stay together). */
  body.lg-watch-body {
    height: auto;
    overflow: visible;
  }
  body.lg-watch-body #watch-main {
    height: auto !important;
    overflow: visible !important;
    padding: 6px !important;
  }
  body.lg-watch-body .watch-maincontent {
    height: auto;
  }
  .lg-watch {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: visible;
  }
  .lg-score-panel {
    flex: 0 0 auto;
    padding: 8px !important;
  }
  .lg-mobile-tabs {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    border-radius: 14px;
    border: 1px solid var(--lg-line-soft);
    background: #101722;
    box-shadow: 0 10px 26px rgba(0,0,0,.18);
  }
  .lg-mobile-tab {
    all: unset !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    min-width: 0;
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 8px;
    border-radius: 999px !important;
    border: 1px solid rgba(255,138,25,.38) !important;
    background: #151d29 !important;
    color: #dce4ef !important;
    font-size: 13px;
    line-height: 1 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }
  .lg-mobile-tab.active {
    border-color: #ff8a19 !important;
    background: linear-gradient(135deg, rgba(255,138,25,.24), rgba(255,177,26,.10)) !important;
    color: #fff !important;
  }
  .lg-mobile-section {
    display: none !important;
  }
  .lg-mobile-section.active {
    flex: 0 0 auto;
    min-height: 0;
    overflow: visible;
  }
  .lg-panel.lg-mobile-section.active {
    display: flex !important;
  }
  .lg-box-tab-wrap.lg-mobile-section.active {
    display: flex !important;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    overflow: visible;
  }
  .lg-box-tab-wrap.active .lg-panel {
    flex: 0 0 auto;
    min-height: 0;
    height: auto;
    max-height: none;
    display: none;
  }
  .lg-play-panel,
  .lg-chat-panel,
  .lg-box-away,
  .lg-box-home {
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .lg-play-panel.active .lg-plays-panel {
    flex: 0 0 auto;
    height: auto;
    max-height: none;
    overflow: visible;
  }
  .lg-chat-panel.active .lg-chat-thread {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
  }
  .lg-clock {
    font-size: 17px;
  }
}

@media (max-width: 900px) {
  .lg-panel.lg-chat-panel.lg-mobile-section.active {
    display: flex !important;
    flex: 0 0 auto;
    min-height: 0;
    height: 72dvh;
    max-height: none;
    overflow: hidden;
  }
  .lg-chat-panel.active .lg-chat-thread {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-bottom: 10px !important;
  }
  .lg-chat-panel.active .lg-chat-form {
    flex: 0 0 auto;
    margin-top: auto;
    position: sticky;
    bottom: 0;
    z-index: 5;
    background: linear-gradient(180deg, #101722, #0d131d);
    border-top: 1px solid var(--lg-line-soft);
    padding: 10px;
  }
  .lg-chat-panel.active .lg-panel-head {
    flex: 0 0 auto;
  }
  .lg-send-button,
  .lg-watch .lg-send-button,
  .lg-chat-form .emoji-picker-trigger {
    height: 54px !important;
    min-height: 54px !important;
  }
}

@media (max-width: 430px) {
  .lg-mobile-tabs {
    gap: 5px;
    padding: 5px;
  }
  .lg-mobile-tab {
    min-height: 36px !important;
    font-size: 12px;
    padding: 0 6px;
  }
}

.lg-box-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.lg-box-team-tabs {
  display: none;
}

.lg-box-react-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 8px !important;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(96,165,250,.45) !important;
  background: #111b2a !important;
  color: #dce8f7 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  white-space: nowrap;
  cursor: pointer;
}

.lg-box-react-toggle input {
  width: 16px !important;
  height: 16px;
  accent-color: #38bdf8;
}

.lg-hide-box-reacts .lg-player-react-line {
  display: none !important;
}

@media (max-width: 900px) {
  .lg-box-controls {
    flex: 0 0 auto;
    display: grid;
    align-items: center;
    padding: 6px !important;
    border-radius: 14px !important;
    border: 1px solid var(--lg-line-soft) !important;
    background: #101722 !important;
    grid-template-columns: 1fr;
    gap: 7px;
    margin-bottom: 6px;
  }
  .lg-box-team-tabs {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 6px;
    min-width: 0;
  }
  .lg-box-team-tab {
    all: unset !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    min-width: 0 !important;
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(96,165,250,.38) !important;
    background: #151d29 !important;
    color: #dce4ef !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .lg-box-team-tab.active {
    border-color: #38bdf8 !important;
    background: linear-gradient(135deg,rgba(14,165,233,.32),rgba(59,130,246,.14)) !important;
    color: #fff !important;
  }
  .lg-box-react-toggle {
    min-height: 38px;
    padding: 0 10px;
    font-size: 12px !important;
  }
  .lg-box-tab-wrap.active .lg-panel.active {
    display: flex;
    flex: 0 0 auto;
    overflow: visible;
  }
  .lg-box-tab-wrap.active .lg-box-panel {
    flex: 0 0 auto;
    overflow: visible;
  }
  .lg-box-table-wrap {
    overflow: auto;
  }
  .lg-box-table {
    min-width: 0;
  }
}

.lg-box-control-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.lg-more-stats-button,
.lg-stat-small-button {
  all: unset !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,135,24,.62) !important;
  background: #111b2a !important;
  color: #f4f7fb !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.lg-more-stats-button.active,
.lg-stat-small-button.primary {
  background: linear-gradient(135deg,#ff7a1a,#ffb11a) !important;
  color: #140e07 !important;
  border-color: rgba(255,177,26,.86) !important;
}

.lg-more-stats-panel {
  margin: 8px 0 10px;
  padding: 12px !important;
  border: 1px solid rgba(96,116,148,.55) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg,#111b2a,#0d131d) !important;
  box-shadow: 0 18px 38px rgba(0,0,0,.25);
  z-index: 20;
}

.lg-more-stats-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.lg-more-stats-head strong {
  font-size: 14px;
  color: #fff !important;
  font-weight: 900;
}

.lg-more-stats-head span {
  font-size: 12px;
  color: #9eabba !important;
  font-weight: 700 !important;
}

.lg-stat-options {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit,minmax(76px,1fr));
}

.lg-stat-option {
  display: inline-flex !important;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(96,116,148,.45) !important;
  background: #101722 !important;
  color: #dce8f7 !important;
  cursor: pointer;
  gap: 5px !important;
  padding: 0 8px;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.lg-stat-option input {
  width: 14px !important;
  height: 14px;
  accent-color: #38bdf8;
  flex: 0 0 auto !important;
}

.lg-stat-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.lg-stat-hidden {
  display: none;
}

.lg-watch .lg-box-table {
  width: 100%;
}

.lg-watch .lg-score-chip,
.lg-watch .lg-play-text .lg-score-chip {
  position: absolute !important;
  margin: 0 !important;
  z-index: 2;
  justify-content: center;
  white-space: nowrap;
}

@supports not selector(:has(*)) {
  .lg-watch .lg-play-copy {
    padding-right: 190px !important;
  }
}

@media (max-width: 900px) {
  .lg-box-control-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    width: 100%;
  }
  .lg-more-stats-button {
    min-height: 38px !important;
    font-size: 12px !important;
    padding: 0 10px !important;
  }
  .lg-more-stats-panel {
    margin: 0 0 8px;
    padding: 10px !important;
  }
  .lg-more-stats-head {
    display: block;
  }
  .lg-more-stats-head span {
    display: block !important;
    margin-top: 3px !important;
  }
  .lg-stat-options {
    gap: 6px;
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .lg-watch .lg-play-row {
    padding-right: 12px;
  }
  @supports not selector(:has(*)) {
    .lg-watch .lg-play-copy {
      padding-right: 132px !important;
    }
  }
}

.lg-stat-option span {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap;
}

.lg-watch .lg-play-row:has(.lg-score-chip) .lg-play-copy {
  padding-right: 210px;
}

.lg-watch .lg-box-tab-wrap {
  padding-bottom: 56px;
  margin-bottom: 56px;
}

@media (max-width: 900px) {
  .lg-stat-option {
    min-height: 32px;
    font-size: 10px !important;
    padding: 0 6px;
    gap: 4px !important;
  }
  .lg-watch .lg-score-chip,
  .lg-watch .lg-play-text .lg-score-chip {
    top: 14px;
    right: 14px !important;
    max-width: 128px;
    font-size: 12.8px !important;
    padding: 6px 9px !important;
  }
  .lg-watch .lg-box-tab-wrap {
    padding-bottom: 16px;
    margin-bottom: 0;
  }
}

@media (max-width: 430px) {
  .lg-stat-options {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .lg-stat-option {
    font-size: 9.5px !important;
    min-height: 30px;
    padding: 0 5px;
  }
  .lg-stat-option input {
    width: 12px !important;
    height: 12px;
  }
}

.lg-box-table th[data-stat-key="PLUSMINUS"],
.lg-box-table td[data-stat-key="PLUSMINUS"] {
  min-width: 58px;
}

.lg-watch.lg-logged-out .lg-react-trigger,
.lg-watch.lg-logged-out .lg-react-total {
  opacity: .55;
  cursor: not-allowed !important;
  pointer-events: none;
}

.lg-watch.lg-logged-out .emoji-picker-wrap {
  display: none !important;
}

.lg-send-button:disabled {
  opacity: .65;
  cursor: not-allowed;
}

@media (min-width: 901px) {
  .lg-watch {
    grid-template-areas: "ticker ticker" "score score" "plays chat" "box extras";
    height: calc(100dvh - 82px);
    grid-template-columns: minmax(0,1.28fr) minmax(420px,.72fr);
    gap: 8px;
    align-items: stretch;
    grid-template-rows: auto 122px minmax(0,1fr) minmax(318px,.98fr);
    padding-bottom: 20px;
  }
  .lg-box-tab-wrap {
    grid-area: box;
    min-width: 0;
    display: grid;
    overflow: hidden;
    background: linear-gradient(180deg, #121a25, #0d131d) !important;
    border: 1px solid var(--lg-line-soft) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 26px rgba(0,0,0,.25);
    align-self: stretch;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    grid-template-rows: auto auto minmax(0,1fr);
  }
  .lg-box-tab-wrap .lg-panel {
    border: 0;
    border-radius: 0 !important;
    box-shadow: none;
    background: transparent;
  }
  .lg-box-tab-wrap [data-box-panel] {
    display: none;
  }
  .lg-box-tab-wrap [data-box-panel].active {
    display: flex;
  }
  .lg-box-tab-wrap .lg-panel-head {
    min-height: 38px;
    padding: 8px 12px !important;
  }
  .lg-box-away,
  .lg-box-home {
    grid-area: auto;
  }
}

.lg-side-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 10px;
}

.lg-top-card,
.lg-pog-card {
  min-height: 100%;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: #101722;
  padding: 12px;
}

.lg-top-card {
  position: relative;
  overflow: hidden;
}

.lg-top-rank {
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: 34px;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,138,25,.18);
  border: 1px solid rgba(255,138,25,.48);
  color: #fff;
  font-weight: 600;
}

.lg-top-card h3 {
  margin: 4px 46px 2px 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 600;
}

.lg-top-card p {
  margin: 0 0 10px;
  color: var(--lg-muted);
  font-size: 13px;
}

.lg-top-dk {
  display: none;
  font-size: 14px;
  padding: 0 11px !important;
}

.lg-top-bonus {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(71,215,119,.14);
  border: 1px solid rgba(71,215,119,.38);
  color: #b8ffd0;
  font-size: 12px;
}

.lg-top-bonus.muted {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
  color: var(--lg-muted);
}

.lg-top-react-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.lg-top-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
}

.lg-top-stats div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: #0c121b;
  padding: 8px 10px;
}

.lg-top-stats span {
  color: var(--lg-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.lg-top-stats b {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.lg-pog-meta {
  color: var(--lg-muted);
  font-size: 12px;
  margin-bottom: 10px;
}

.lg-pog-options {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.lg-pog-vote-button {
  all: unset !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  position: relative !important;
  display: grid !important;
  gap: 8px !important;
  align-items: center !important;
  border-radius: 13px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: #0c121b !important;
  color: #fff !important;
  overflow: hidden !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  min-height: 38px !important;
  padding: 7px 10px !important;
}

.lg-pog-vote-button:hover,
.lg-pog-vote-button.is-my-vote {
  border-color: rgba(255,138,25,.72) !important;
  background: #121b28 !important;
}

.lg-pog-vote-button:disabled {
  cursor: not-allowed !important;
  opacity: .74 !important;
}

.lg-pog-player {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lg-pog-player b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  font-size: 13px !important;
  line-height: 1.12;
}

.lg-pog-player em {
  color: var(--lg-muted);
  font-style: normal;
  font-size: 11px;
  display: none !important;
}

.lg-pog-bar {
  position: absolute !important;
  left: 0;
  width: 100%;
  top: 0;
  bottom: auto !important;
  height: 100%;
  background: rgba(37,99,235,.08) !important;
}

.lg-pog-bar i {
  display: block;
  height: 100% !important;
  opacity: .55;
  background: linear-gradient(90deg,rgba(37,99,235,.72),rgba(56,189,248,.42)) !important;
}

.lg-pog-count {
  position: relative;
  z-index: 2;
  justify-self: end;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  gap: 1px;
  line-height: 1.05;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  min-width: 58px !important;
  white-space: nowrap;
}

.lg-pog-login {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,138,25,.55);
  color: #fff;
  text-decoration: none;
  background: rgba(255,138,25,.12);
}

@media (max-width: 900px) {
  .lg-top-stats {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (min-width: 901px) {
  .lg-box-controls {
    padding: 8px 10px !important;
    border-bottom: 1px solid rgba(255,255,255,.07) !important;
    background: #0d141e !important;
  }
  .lg-box-team-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }
  .lg-box-team-tab {
    all: unset !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,138,25,.45) !important;
    background: #121b28 !important;
    color: #dce4ef !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }
  .lg-box-team-tab.active {
    border-color: rgba(255,138,25,.95) !important;
    background: linear-gradient(135deg,rgba(255,138,25,.34),rgba(255,138,25,.11)) !important;
    color: #fff !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06) !important;
  }
  .lg-side-scroll {
    padding: 12px 12px 18px !important;
  }
}

.lg-top-score-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 10px;
}

.lg-top-score-line .lg-top-react-line {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.lg-pog-count b {
  color: #fff !important;
  font-weight: 800;
  font-size: 12px !important;
  line-height: 1;
}

.lg-pog-count em {
  font-style: normal !important;
  font-size: 10px !important;
  color: var(--lg-muted) !important;
  font-weight: 700 !important;
}

@media (min-width: 901px) {
  body.lg-watch-body #layoutwrap {
    padding: 10px 12px 12px !important;
    padding-bottom: 20px !important;
  }
  .lg-box-tab-wrap .lg-panel,
  .lg-box-tab-wrap [data-box-panel].active {
    min-height: 0;
    height: 100%;
    flex: 1 1 auto;
  }
  .lg-box-tab-wrap .lg-box-panel {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    overflow: auto;
  }
  .lg-top-card,
  .lg-pog-card {
    min-height: 100%;
    box-sizing: border-box;
  }
}

.lg-quarter-head {
  color: #bac5d3;
  padding-bottom: 2px !important;
  border-bottom: 1px solid rgba(255,255,255,.38) !important;
}

.lg-score-center:has(.lg-quarter-scores) .lg-clock {
  font-size: 24px !important;
}

.lg-score-center:has(.lg-quarter-scores) .lg-status {
  min-height: 20px;
  font-size: 12px !important;
  padding: 0 8px !important;
}

@supports not selector(:has(*)) {
  .lg-clock {
    font-size: 24px !important;
  }
}

@media (max-width: 900px) {
  .lg-score-line {
    position: relative;
    grid-template-rows: auto auto;
    padding-bottom: 0 !important;
  }
  .lg-score-center:has(.lg-quarter-scores) .lg-clock {
    font-size: 17px !important;
  }
  .lg-score-center:has(.lg-quarter-scores) .lg-status {
    font-size: 9px !important;
    min-height: 18px;
  }
}

.lg-score-line {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(330px,390px) minmax(0,1fr);
  gap: 14px;
  align-items: stretch;
}

.lg-score-center .lg-clock {
  line-height: 1;
  margin: 0;
}

.lg-score-center .lg-status {
  font-size: 10px;
  min-height: 18px;
  line-height: 16px;
  padding: 0 8px !important;
  margin: 0;
}

.lg-quarter-scores {
  width: min(100%,380px);
  max-width: 380px;
  margin: 4px auto 0;
  padding: 0 !important;
  color: #dfe7f2 !important;
  font-size: 12px;
  line-height: 1.05;
  flex: 0 0 auto;
}

.lg-quarter-row {
  display: grid;
  grid-template-columns: 32px repeat(var(--lg-q-cols,5), minmax(20px,1fr));
  gap: 4px;
  align-items: center;
  text-align: center !important;
  min-height: 14px;
}

.lg-quarter-row strong {
  text-align: right;
  font-weight: 700;
  color: #fff !important;
}

.lg-quarter-row b {
  font-weight: 700;
  color: #fff !important;
}

.lg-quarter-head b {
  color: #b7c1cf !important;
  font-weight: 600;
}

.lg-play-head {
  align-items: center !important;
}

.lg-play-head-controls {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin-left: auto;
  min-width: 0;
}

.lg-play-react-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 7px !important;
  height: 24px;
  padding: 0 10px;
  border: 1px solid rgba(255,149,31,.75) !important;
  border-radius: 999px;
  color: #dfe7f2 !important;
  background: rgba(13,27,44,.84) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  white-space: nowrap;
  cursor: pointer;
}

.lg-play-react-toggle input {
  width: 13px !important;
  height: 13px;
  accent-color: #ff9818;
  margin: 0;
}

.lg-hide-play-reacts .lg-play-panel .lg-reactions {
  display: none !important;
}

@media (max-width: 1200px) {
  .lg-score-line {
    grid-template-columns: minmax(0,1fr) minmax(300px,340px) minmax(0,1fr);
    gap: 10px;
  }
  .lg-score-center {
    min-width: 300px;
  }
  .lg-quarter-scores {
    font-size: 11px;
  }
  .lg-quarter-row {
    grid-template-columns: 28px repeat(var(--lg-q-cols,5), minmax(18px,1fr));
    gap: 3px;
  }
}

@media (max-width: 900px) {
  .lg-score-line {
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    gap: 7px 8px;
    align-items: center;
  }
  .lg-score-center {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 74px;
    order: initial;
    padding: 2px 0 0 !important;
  }
  .lg-score-center .lg-clock {
    font-size: 18px;
  }
  .lg-quarter-scores {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    width: min(360px,100%);
    max-width: 100%;
    margin: 5px auto 0;
    font-size: 12px;
    background: rgba(8,13,22,.38) !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 9px !important;
    padding: 5px 8px !important;
    z-index: auto;
  }
  .lg-quarter-row {
    grid-template-columns: 30px repeat(var(--lg-q-cols,5), minmax(18px,1fr));
    gap: 3px;
  }
  .lg-play-head-controls {
    width: 100%;
    justify-content: space-between;
    gap: 7px;
  }
  .lg-play-head-controls .lg-period-tabs {
    flex: 1 1 auto;
    min-width: 0;
  }
  .lg-play-react-toggle {
    flex: 0 0 auto;
    height: 24px;
    padding: 0 9px;
    font-size: 11px !important;
  }
}

@media (min-width: 901px) {
  .lg-score-panel {
    min-height: 112px;
    height: 112px;
    overflow: visible;
    padding: 10px !important;
  }
  .lg-score-wrap,
  .lg-score-line {
    height: 100%;
    min-height: 92px;
  }
  .lg-score-line {
    grid-template-columns: minmax(0,1fr) minmax(360px,430px) minmax(0,1fr);
    align-items: stretch;
  }
  .lg-score-team,
  .lg-score-center {
    height: 92px;
    min-height: 92px;
  }
  .lg-score-center {
    min-width: 360px;
    justify-content: center;
  }
  .lg-score-center .lg-clock {
    font-size: 22px;
    line-height: 1;
  }
  .lg-quarter-scores {
    width: min(100%,420px);
    max-width: 420px;
    margin-top: 5px;
    font-size: 12px;
  }
  .lg-quarter-row {
    grid-template-columns: 34px repeat(var(--lg-q-cols,5), minmax(22px,1fr));
    gap: 4px;
    min-height: 15px;
  }
  .lg-watch .lg-play-row:has(.lg-score-chip) .lg-play-copy {
    padding-right: 170px;
  }
  .lg-watch .lg-score-chip,
  .lg-watch .lg-play-text .lg-score-chip {
    font-size: 16px !important;
    padding: 7px 14px !important;
    max-width: 160px;
    border-radius: 999px !important;
    top: 14px;
    right: 14px !important;
  }
  @supports not selector(:has(*)) {
    .lg-watch .lg-play-copy {
      padding-right: 170px !important;
    }
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .lg-watch {
    grid-template-rows: auto 118px minmax(0,1fr) minmax(318px,.98fr);
  }
  .lg-score-panel {
    min-height: 108px;
    height: 108px;
  }
  .lg-score-line {
    grid-template-columns: minmax(0,1fr) minmax(320px,360px) minmax(0,1fr);
  }
  .lg-score-team,
  .lg-score-center {
    height: 88px;
    min-height: 88px;
  }
  .lg-score-center {
    min-width: 320px;
  }
  .lg-quarter-scores {
    font-size: 11px;
  }
}

@media (max-width: 900px) {
  .lg-watch .lg-play-row:has(.lg-score-chip) .lg-play-copy {
    padding-right: 136px;
  }
}

@media (max-width: 430px) {
  .lg-watch .lg-play-row:has(.lg-score-chip) .lg-play-copy {
    padding-right: 124px;
  }
  .lg-watch .lg-score-chip,
  .lg-watch .lg-play-text .lg-score-chip {
    max-width: 116px;
    font-size: 12px !important;
    padding: 6px 8px !important;
  }
}

.lg-pog-count i {
  font-style: normal;
  color: var(--lg-muted);
  padding: 0 3px;
}

.lg-pog-count em {
  display: none !important;
}

#potgtext {
  color: var(--orange);
  font-family: "Roboto Condensed", sans-serif;
}

.lg-last-meeting-panel {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 12px;
  background: radial-gradient(circle at top left,rgba(255,138,25,.10),transparent 42%),#0d131d;
}

.lg-play-panel.has-last-meeting .lg-play-head-controls {
  display: none;
}

.lg-ltm-card {
  height: 100%;
  min-height: 0;
  border: 1px solid rgba(255,138,25,.22);
  border-radius: 18px;
  background: linear-gradient(180deg,rgba(18,26,37,.96),rgba(9,14,22,.98));
  box-shadow: 0 14px 32px rgba(0,0,0,.26);
  overflow: auto;
  padding: 16px;
  color: #f3f6fb;
}

.lg-ltm-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 12px;
}

.lg-ltm-head span {
  display: block;
  color: var(--lg-orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.lg-ltm-head h2 {
  margin: 2px 0 0;
  font-family: "Roboto Condensed",sans-serif;
  font-size: 24px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 800;
}

.lg-ltm-head p {
  margin: 0;
  color: #94a3b8;
  font-size: 12px;
  text-align: right;
}

.lg-ltm-score-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) 180px minmax(0,1fr);
  gap: 12px;
  align-items: stretch;
  margin-bottom: 14px;
}

.lg-ltm-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  padding: 14px;
  min-width: 0;
}

.lg-ltm-team span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "Roboto Condensed",sans-serif;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1;
  color: #fff;
}

.lg-ltm-team strong {
  font-family: "League Gothic",sans-serif;
  font-weight: 500;
  font-size: 54px;
  line-height: .85;
  color: #fff;
}

.lg-ltm-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 16px;
  background: rgba(255,138,25,.10);
  border: 1px solid rgba(255,138,25,.18);
  padding: 10px;
}

.lg-ltm-meta strong {
  font-size: 16px;
  color: #fff;
  text-transform: uppercase;
}

.lg-ltm-meta span,
.lg-ltm-meta em {
  font-style: normal;
  color: #cbd5e1;
  font-size: 12px;
  margin-top: 3px;
}

.lg-ltm-leaders {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 10px;
  margin-top: 12px;
}

.lg-ltm-leader {
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  border-radius: 14px;
  padding: 12px;
  min-width: 0;
}

.lg-ltm-leader span {
  display: block;
  color: var(--lg-orange);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .06em;
}

.lg-ltm-leader strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 15px;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lg-ltm-leader em {
  display: block;
  margin-top: 5px;
  color: #9aa6b8;
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lg-ltm-last5 {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
  margin-top: 14px;
}

.lg-ltm-last5 > div {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  padding: 10px;
  text-align: center;
}

.lg-ltm-last5 span {
  display: block;
  color: #94a3b8;
  font-size: 11px;
  text-transform: uppercase;
}

.lg-ltm-last5 strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .lg-ltm-score-row {
    grid-template-columns: 1fr;
  }
  .lg-ltm-leaders {
    grid-template-columns: 1fr 1fr;
  }
  .lg-ltm-last5 {
    grid-template-columns: 1fr 1fr;
  }
  .lg-ltm-head {
    display: block;
  }
  .lg-ltm-head p {
    text-align: left;
    margin-top: 4px;
  }
  .lg-ltm-team strong {
    font-size: 42px;
  }
}

@media (min-width: 901px) {
  .room-extras {
    grid-area: extras;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }
}

.room-extras {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.room-tabs {
  display: flex;
  gap: 4px;
  padding: 6px;
  border-bottom: 1px solid var(--rh-line);
  flex: 0 0 auto;
}

.lg-watch .room-tab {
  flex: 1 1 0;
  min-height: 32px !important;
  padding: 0 10px !important;
  border-radius: 10px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: var(--rh-muted) !important;
  font-size: 13px;
  font-weight: 700 !important;
  white-space: nowrap;
  box-shadow: none !important;
}

.lg-watch .room-tab.active {
  background: rgba(255,138,25,.14) !important;
  border-color: rgba(255,138,25,.5) !important;
  color: #fff !important;
}

.room-pane {
  display: none;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
}

.room-pane.active {
  display: flex;
}

.room-pane-note {
  margin: 8px 10px 0;
  color: var(--rh-muted);
  font-size: 12px;
}

.room-extras #potgtext {
  padding: 8px 12px;
  font-size: 12px;
  border-top: 1px solid var(--rh-line);
}

.lg-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.room-presence-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--rh-muted);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--rh-line2);
}

.room-presence-pill b {
  color: #fff;
}

.room-presence-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
}

.room-presence-pill.is-live i {
  background: var(--rh-red);
  box-shadow: 0 0 0 0 rgba(255,107,107,.6);
  animation: rh-pulse 1.6s infinite;
}

@keyframes rh-pulse{0%{box-shadow:0 0 0 0 rgba(255,107,107,.55)}70%{box-shadow:0 0 0 7px rgba(255,107,107,0)}100%{box-shadow:0 0 0 0 rgba(255,107,107,0)}}

.rh {
  display: grid;
  gap: 10px;
}

.rh-presence {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--rh-muted);
}

.rh-presence strong {
  color: #fff;
  font-size: 15px;
}

.rh-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #64748b;
}

.rh-live-dot.is-live {
  background: var(--rh-red);
  animation: rh-pulse 1.6s infinite;
}

.rh-faces {
  display: flex;
  margin-left: auto;
}

.rh-faces img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0d131d;
  margin-left: -7px;
}

.rh-block {
  background: var(--rh-soft);
  border: 1px solid var(--rh-line);
  border-radius: 14px;
  padding: 10px 12px;
}

.rh-block h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #fff;
}

.rh-block h3 small {
  font-size: 11px;
  font-weight: 600;
  color: var(--rh-muted);
  margin-left: auto;
}

.rh-note {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--rh-muted);
}

.rh-note a,
.rh-mine a {
  color: var(--rh-orange2);
}

.rh-side-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.lg-watch .rh-side {
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 2px !important;
  min-height: 48px !important;
  padding: 6px 12px 6px 16px !important;
  border-radius: 12px !important;
  border: 1px solid var(--rh-line2) !important;
  background: #0f151f !important;
  color: #fff !important;
  overflow: hidden;
  box-shadow: none !important;
  text-align: left;
}

.lg-watch .rh-side::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg,var(--side-a),var(--side-b));
}

.lg-watch .rh-side span {
  font-weight: 800;
  font-size: 15px;
}

.lg-watch .rh-side small {
  font-size: 11px;
  color: var(--rh-muted);
}

.lg-watch .rh-side.is-mine {
  border-color: var(--side-b) !important;
  background: linear-gradient(90deg,color-mix(in srgb,var(--side-a) 35%,transparent),#0f151f) !important;
}

.lg-watch .rh-side.is-mine::after {
  content: "Your side";
  position: absolute;
  right: 10px;
  top: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  opacity: .85;
}

.rh-side-bar {
  display: flex;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
  background: #0b1018;
}

.rh-side-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg,var(--side-a),var(--side-b));
  min-width: 0;
}

.rh-split {
  display: grid;
  gap: 6px;
}

.rh-split-row {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

.rh-split-row span {
  font-weight: 700;
}

.rh-split-row b {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg,var(--side-a),var(--side-b));
}

.rh-split-row em {
  font-style: normal;
  color: var(--rh-muted);
  font-size: 12px;
  white-space: nowrap;
}

.rh-mine {
  margin: 8px 0 0;
  font-size: 13px;
  color: #dce4f2;
}

.rh-pts {
  color: var(--rh-green);
}

.rh-miss {
  color: #ff475f;
}

.rh-streak-pick {
  margin-top: 8px;
}

.lg-watch .rh-streak-pick .rh-side.is-mine::after {
  content: "Your pick";
}

.rh-preds {
  display: grid;
  gap: 8px;
}

.rh-pred {
  display: grid;
  gap: 6px;
}

.rh-pred + .rh-pred {
  border-top: 1px solid var(--rh-line);
  padding-top: 8px;
}

.rh-pred-q {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #e8eef8;
}

.rh-verdict {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  color: var(--rh-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.rh-verdict.is-right {
  color: var(--rh-green);
}

.rh-verdict.is-wrong {
  color: var(--rh-red);
}

.rh-pred-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.lg-watch .rh-opt {
  position: relative;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  min-height: 34px !important;
  padding: 0 10px !important;
  border-radius: 10px !important;
  border: 1px solid var(--rh-line2) !important;
  background: #0f151f !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700 !important;
  overflow: hidden;
  box-shadow: none !important;
}

.lg-watch .rh-opt span,
.lg-watch .rh-opt small {
  position: relative;
  z-index: 1;
}

.lg-watch .rh-opt small {
  color: var(--rh-muted);
  font-weight: 600;
}

.lg-watch .rh-opt i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgba(255,255,255,.05);
  z-index: 0;
  transition: width .3s ease;
}

.lg-watch .rh-opt.is-mine {
  border-color: var(--rh-orange) !important;
}

.lg-watch .rh-opt.is-mine i {
  background: rgba(255,138,25,.18);
}

.lg-watch .rh-opt.is-answer {
  border-color: var(--rh-green) !important;
}

.lg-watch .rh-opt.is-answer i {
  background: rgba(71,215,119,.18);
}

.lg-watch .rh-opt:disabled {
  opacity: .85;
  transform: none !important;
}

.rh-pred.is-open .rh-pred-q::after {
  content: "Open";
  margin-left: auto;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--rh-green);
}

.rh-cards {
  display: grid;
  gap: 6px;
}

.rh-callout {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 10px;
  background: #0f151f;
  color: inherit;
  text-decoration: none;
}

.rh-callout img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.rh-callout strong {
  display: block;
  font-size: 13px;
}

.rh-callout small {
  display: block;
  font-size: 12px;
  color: var(--rh-muted);
}

.rh-callout em {
  font-style: normal;
  font-weight: 800;
  color: var(--rh-orange2);
}

.rh-callout.is-hot {
  background: linear-gradient(90deg,rgba(255,138,25,.18),#0f151f);
}

.rh-recap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.rh-recap-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid var(--rh-line);
}

.rh-recap-list span {
  color: var(--rh-muted);
}

.rh-share {
  display: inline-flex;
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--rh-orange);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

.chat-side-tag {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 999px;
  margin-right: 6px;
  background: var(--side-a);
  color: #fff;
  border: 1px solid var(--side-b);
}

.room-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%,20px);
  opacity: 0;
  pointer-events: none;
  z-index: 2147483000;
  background: #111823;
  border: 1px solid var(--rh-orange,#ff8a19);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
  transition: all .2s ease;
}

.room-toast.show {
  opacity: 1;
  transform: translate(-50%,0);
}

@media (max-width: 900px) {
  .room-extras {
    min-height: calc(100dvh - 210px);
  }
  .room-tab {
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  .lg-watch .lg-mobile-tabs {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 6px;
  }
  .lg-watch .lg-mobile-tab {
    min-width: 0 !important;
    padding: 0 6px !important;
    font-size: 14px !important;
  }
}

.lg-guest-cta,
.lg-room-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  grid-column: 1 / -1;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 122, 26, .35);
  background: rgba(255, 122, 26, .08);
  font-size: 14px;
}

.lg-guest-cta span {
  color: var(--muted);
}

.lg-guest-cta .btn {
  margin-left: auto;
}

.lg-room-note a {
  color: var(--orange2);
  font-weight: 700;
}

.lg-chat-scope {
  margin-left: auto;
  margin-right: 10px;
  white-space: nowrap;
  color: var(--orange2);
  font-size: 13px;
  font-weight: 700;
}

.lg-watch.is-party .lg-chat-panel {
  border-color: rgba(255, 177, 26, .45);
}

.lg-watch.party-banner-court .lg-chat-head {
  background: linear-gradient(90deg, rgba(139, 84, 40, .45), transparent);
}

.lg-watch.party-banner-sunset .lg-chat-head {
  background: linear-gradient(90deg, rgba(255, 77, 141, .35), rgba(255, 122, 26, .2), transparent);
}

.lg-watch.party-banner-night .lg-chat-head {
  background: linear-gradient(90deg, rgba(37, 99, 235, .4), rgba(124, 58, 237, .2), transparent);
}

.lg-watch.party-banner-team .lg-chat-head {
  background: linear-gradient(90deg, var(--party-a, #ff7a1a), var(--party-b, #ffb11a) 40%, transparent);
}

.rh-party h3 small {
  color: var(--muted);
}

.rh-party-faces {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 8px 0;
}

.rh-party-faces img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.rh-party-invite,
.rh-party-style {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.rh-party-invite input,
.rh-party-style input,
.rh-party-style select {
  flex: 1 1 140px;
  width: auto;
  min-width: 0;
  padding: 8px 10px;
}

.rh-party-link {
  display: block;
  margin: 6px 0;
  color: #ffcf7a;
  font-weight: 700;
}

.rh-party-new,
.rh-party-upgrade {
  width: 100%;
  margin-top: 6px;
}

.rh-link {
  color: var(--orange2);
}

.room-fx:empty {
  display: none;
}

.room-pin {
  position: relative;
  display: grid;
  grid-template-columns: auto 28px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  margin: 0 10px 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 177, 26, .5);
  background: rgba(255, 177, 26, .1);
  overflow: hidden;
}

.room-pin img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.room-pin p {
  margin: 2px 0 0;
  font-size: 14px;
}

.room-pin-icon {
  font-size: 16px;
}

.room-pin-timer {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--orange2);
  transform-origin: left;
  animation: pin-timer var(--pin-left, 60s) linear forwards;
}

@keyframes pin-timer { to { transform: scaleX(0); } }

.chat-pin-btn {
  margin-left: 6px;
  opacity: .55;
  font-size: 12px;
}

.chat-pin-btn:hover {
  opacity: 1;
}

.lg-hype-button {
  margin-left: 6px;
}

.room-hype {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.room-hype-card {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 18px 26px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 122, 26, .95), rgba(255, 177, 26, .95));
  color: #16100b;
  box-shadow: 0 20px 60px rgba(255, 122, 26, .45);
  text-align: center;
  animation: hype-pop 4s ease forwards;
}

.room-hype-card b {
  font-size: 15px;
}

.room-hype-card span {
  font-family: "Roboto Condensed", Inter, sans-serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.room-confetti {
  position: absolute;
  top: -12px;
  left: var(--x);
  width: 9px;
  height: 14px;
  border-radius: 2px;
  background: hsl(var(--h), 90%, 60%);
  animation: confetti-fall 2.6s ease-in var(--d) forwards;
}

@keyframes hype-pop {
  0% { opacity: 0; transform: scale(.6); }
  12% { opacity: 1; transform: scale(1.06); }
  20% { transform: scale(1); }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-30px); }
}

@keyframes confetti-fall {
  to { transform: translateY(105vh) rotate(540deg); }
}

.lg-moment-share {
  margin-top: 6px;
  padding: 3px 10px;
  font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .room-confetti {
    display: none;
  }
  .room-hype-card {
    animation-duration: 3s;
  }
}

/* Score line rendered with the page (search engines and slow connections) until the live panel loads. */
.lg-score-preload {
  margin: 0;
  padding: 18px 16px;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
}

/* Box score: green dot for players on court (live games), sortable stat headers */
.lg-oncourt {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: #35e06f;
  box-shadow: 0 0 0 3px rgba(53,224,111,.18);
  vertical-align: middle;
}

.lg-oncourt-key {
  margin-left: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.lg-oncourt-key .lg-oncourt {
  width: 6px;
  height: 6px;
  margin-right: 4px;
  box-shadow: none;
}

.lg-box-table thead th[data-stat-key] {
  cursor: pointer;
  user-select: none;
}

.lg-box-table thead th.is-sorted {
  color: #fff;
}

.lg-box-table thead th[aria-sort="descending"]::after {
  content: " ▼";
  font-size: 9px;
}

.lg-box-table thead th[aria-sort="ascending"]::after {
  content: " ▲";
  font-size: 9px;
}

/* ==========================================================================
   Scoreboard band: tonight's games across the top of the room (v326)
   ========================================================================== */
.lg-ticker {
  grid-area: ticker;
  display: flex;
  align-items: stretch;
  gap: 10px;
  min-width: 0;
}

.lg-ticker.is-empty {
  display: none;
}

.lg-tk-games {
  display: flex;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg,#000 92%,transparent);
  mask-image: linear-gradient(90deg,#000 92%,transparent);
}

.lg-tk-games::-webkit-scrollbar {
  display: none;
}

.lg-tk-game {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 12px;
  flex: 0 0 auto;
  min-width: 112px;
  padding: 6px 10px;
  border: 1px solid var(--lg-line);
  border-radius: 12px;
  background: var(--lg-panel);
  color: var(--lg-text);
  font-size: 12px;
  line-height: 1.35;
  text-decoration: none;
}

.lg-tk-game:hover {
  border-color: rgba(255,138,25,.55);
}

.lg-tk-game.is-current {
  border-color: var(--lg-orange);
  background: var(--lg-orange-soft);
}

.lg-tk-team {
  display: flex;
  grid-column: 1;
  align-items: center;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}

.lg-tk-team i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg,var(--tk-a),var(--tk-b));
}

.lg-tk-team b {
  min-width: 30px;
  font-weight: 800;
}

.lg-tk-score {
  margin-left: auto;
  font-weight: 800;
}

.lg-tk-team.is-loser {
  color: var(--lg-muted);
}

.lg-tk-status {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--lg-muted);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.lg-tk-live {
  color: var(--lg-green);
}

.lg-tk-live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--lg-green);
  vertical-align: 1px;
}

.lg-ticker.is-hiding-scores .lg-tk-score {
  visibility: hidden;
}

.lg-ticker.is-hiding-scores .lg-tk-team.is-loser {
  color: var(--lg-text);
}

.lg-tk-toggle {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
  color: var(--lg-muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.lg-tk-toggle input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--lg-orange);
}

@media (max-width: 900px) {
  .lg-ticker {
    flex: 0 0 auto;
    gap: 6px;
  }
  .lg-tk-game {
    min-width: 100px;
    padding: 5px 8px;
  }
  .lg-tk-toggle span,
  .lg-tk-toggle {
    font-size: 11px;
  }
}
