/* Responsive website embed; the OBS canvas keeps its original dimensions. */
html.ms-document,
html.ms-document body,
html.ms-document #root {
  height: auto;
  min-height: 100%;
  overflow: visible;
  background: #000;
}
html.ms-document {
  overflow-y: auto;
}
.leaderboard-minisite {
  --ms-gold: #cf973e;
  --ms-text: #f6f6f6;
  width: 100%;
  padding: 48px 30px 40px;
  color: var(--ms-text);
  background: #000;
}
.leaderboard-minisite,
.leaderboard-minisite * {
  font-family: "Mulish", "Segoe UI", sans-serif;
}
.ms-content {
  width: 100%;
  max-width: 1170px;
  margin-inline: auto;
}
.ms-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-bottom: 24px;
}
.ms-header h1 {
  display: none;
  margin: 0;
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 700;
  color: #d1ab6b;
}
.ms-tabs {
  display: flex;
  gap: 20px;
  flex: 0 1 420px;
}
.ms-tabs button {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #929292;
  border-radius: 5px;
  color: var(--ms-text);
  background: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
}
.ms-tabs button[aria-selected="true"] {
  border-color: #c7b18a;
  background: linear-gradient(180deg, #96713b, #080808);
}
.ms-tabs button:hover {
  border-color: #e2c58f;
}
.leaderboard-minisite :focus-visible {
  outline: 2px solid #e2c58f;
  outline-offset: 4px;
}
.ms-panel[hidden] {
  display: none;
}
.ms-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0 10px;
  font-size: 18px;
  line-height: 1.4;
}
.ms-col-rank {
  width: 9%;
}
.ms-col-name {
  width: 27%;
}
.ms-col-region {
  width: 15%;
}
.ms-col-roi {
  width: 14%;
}
.ms-col-pnl {
  width: 19%;
}
.ms-col-lots {
  width: 16%;
}
.ms-table th,
.ms-table td {
  padding: 12px 14px;
  text-align: center;
  overflow-wrap: anywhere;
  vertical-align: middle;
}
.ms-table thead th {
  height: 56px;
  padding-top: 8px;
  padding-bottom: 18px;
  font-weight: 700;
}
.ms-table tbody tr {
  height: 60px;
  background: #191919;
}
.ms-table tbody tr[data-rank="1"] {
  background: linear-gradient(180deg, #423522, #000);
}
.ms-table .ms-name {
  text-align: left;
}
.ms-table tbody .ms-name {
  font-weight: 400;
}
.ms-names {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ms-table .ms-rank {
  border-left: 5px solid transparent;
  padding: 8px 10px 8px 5px;
  font-weight: 700;
}
.ms-table tr:is([data-rank="1"], [data-rank="2"], [data-rank="3"]) .ms-rank {
  border-left-color: var(--ms-gold);
}
.ms-rank img {
  display: block;
  width: 34px;
  height: 42px;
  margin: auto;
  object-fit: contain;
}
.ms-roi,
.ms-pnl {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ms-positive {
  color: #d4ff3f;
}
.ms-negative {
  color: #ff3b49;
}
.ms-neutral {
  color: var(--ms-text);
}
.ms-status,
.ms-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (min-width: 391px) and (max-width: 1439px) {
  .ms-tabs {
    flex-basis: 360px;
    gap: 16px;
  }
  .ms-table {
    font-size: 16px;
  }
  .ms-table th,
  .ms-table td {
    padding-inline: 8px;
  }
  .ms-table thead th {
    font-size: 15px;
  }
  .ms-col-rank {
    width: 8%;
  }
  .ms-col-name {
    width: 26%;
  }
  .ms-col-region {
    width: 12%;
  }
  .ms-col-roi {
    width: 15%;
  }
  .ms-col-pnl {
    width: 23%;
  }
  .ms-col-lots {
    width: 16%;
  }
}
@media (max-width: 768px) {
  .ms-table .ms-col-pnl,
  .ms-table .ms-pnl-heading,
  .ms-table .ms-pnl {
    display: none;
  }
}
@media (min-width: 391px) and (max-width: 768px) {
  .ms-table th,
  .ms-table td {
    padding-inline: 4px;
  }
  .ms-col-rank {
    width: 52px;
  }
  .ms-col-name {
    width: auto;
  }
  .ms-col-roi {
    width: 20%;
  }
  .ms-col-region {
    width: 16%;
  }
  .ms-col-lots {
    width: 20%;
  }
}
@media (min-width: 391px) and (max-width: 479px) {
  .ms-col-roi {
    width: 76px;
  }
  .ms-col-region {
    width: 68px;
  }
  .ms-col-lots {
    width: 64px;
  }
}
@media (max-width: 390px) {
  .leaderboard-minisite {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .ms-header {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }
  .ms-header h1 {
    display: block;
    font-size: 24px;
    text-align: center;
  }
  .ms-tabs {
    width: 100%;
    flex-basis: auto;
  }
  .ms-tabs button {
    font-size: 18px;
    padding-inline: 8px;
  }
  .ms-table {
    font-size: 16px;
  }
  .ms-table .ms-desktop {
    display: none;
  }
  .ms-col-rank {
    width: 72px;
  }
  .ms-col-name {
    width: auto;
  }
  .ms-col-roi {
    width: 96px;
  }
  .ms-table th,
  .ms-table td {
    padding-inline: 8px;
  }
  .ms-table thead th {
    height: 56px;
  }
  .ms-table .ms-rank {
    padding-right: 8px;
  }
}

@font-face {
  font-family: "Eurostile Extended Black";
  src: url("/fonts/EurostileExtendedBlack.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --client-font: "Eurostile Extended Black", "Segoe UI", sans-serif;
}

@font-face {
  font-family: "Century Gothic Pro Headers";
  src: url("/fonts/CenturyGothicPro-Bold-Headers.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC Subtitle";
  src: url("/fonts/NotoSansSC-Subtitle.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("/fonts/Mulish-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("/fonts/Mulish-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  font-family: var(--client-font);
  font-synthesis: none;
}

html,
body,
#root {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: transparent;
  color: #f0f2fa;
}

.panel {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(155deg, #171d30 0%, #0b101d 65%);
  border: 1px solid #ffffff18;
  border-radius: 22px;
  overflow: hidden;
}

.panel.transparent {
  background: transparent;
  border-color: transparent;
}

header {
  padding: 30px 25px 24px;
  border-bottom: 1px solid #ffffff12;
  background: #ffffff03;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 2.3px;
  font-weight: 700;
  color: #98a5bd;
  margin-bottom: 15px;
}

.title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

h1 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin: 0;
  font-weight: 750;
}

.accent {
  color: #a3ffbf;
}

.live {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #a3ffbf;
  border: 1px solid #a3ffbf30;
  background: #a3ffbf0c;
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.live i,
.demo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a3ffbf;
  display: inline-block;
}

.subtitle {
  font-size: 13px;
  color: #8f9bb1;
  margin-top: 9px;
}

.messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 12px 22px 20px;
}

.messages::-webkit-scrollbar {
  display: none;
}

.message {
  display: flex;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid #ffffff08;
  animation: enter 0.35s ease-out;
}

.avatar {
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--user) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--user) 25%, transparent);
  color: var(--user);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}

.content {
  flex: 1;
  min-width: 0;
}

.meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.meta strong {
  font-size: 14px;
}

.meta time {
  font-size: 10px;
  color: #66738a;
  margin-left: auto;
}

p {
  font-size: 17px;
  line-height: 1.45;
  margin: 0;
  color: #e0e6f1;
  overflow-wrap: anywhere;
}

footer {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 17px 24px;
  border-top: 1px solid #ffffff12;
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #8592a8;
}

.demo-dot {
  background: #8592a8;
  width: 5px;
  height: 5px;
}

.cadence {
  margin-left: auto;
  font-size: 8px;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Standalone transparent subscriber overlay. */
.subscriber-stage {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: transparent;
  overflow: hidden;
}

.subscriber-alert {
  position: relative;
  text-align: center;
  width: 90%;
  padding: 30px 12px;
  isolation: isolate;
  animation: subscriber-life 6s both;
  filter: drop-shadow(0 3px 6px #0009);
}

.subscriber-emblem {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0 auto 19px;
  width: 86px;
  height: 86px;
  border: 2px solid #b5ff68;
  border-radius: 26px;
  background: #132017e8;
  box-shadow: 0 0 36px #b5ff6833;
  transform: rotate(-8deg);
}

.subscriber-emblem svg {
  width: 57px;
  height: 57px;
  fill: #b5ff68;
  transform: rotate(8deg);
}

.subscriber-label {
  position: relative;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 5px;
  color: #b5ff68;
  text-shadow: 0 2px 4px #000;
}

.subscriber-name {
  position: relative;
  font-size: clamp(36px, 9vw, 76px);
  font-weight: 900;
  line-height: 1.12;
  margin: 8px 0;
  color: white;
  letter-spacing: -2px;
  text-shadow: 0 3px 10px #0009;
}

.subscriber-name span {
  color: #b5ff68;
}

.subscriber-thanks {
  position: relative;
  color: #fff;
  font-size: 21px;
  font-weight: 500;
  text-shadow: 0 2px 5px #000;
}

.subscriber-line {
  height: 3px;
  width: 58px;
  border-radius: 3px;
  background: #b5ff68;
  margin: 22px auto 0;
  box-shadow: 0 0 15px #b5ff6866;
}

.celebration {
  position: absolute;
  left: 50%;
  top: 43%;
  z-index: -1;
}

.celebration span {
  position: absolute;
  width: 7px;
  height: 12px;
  background: var(--c);
  border-radius: 2px;
  animation: confetti 2.8s 0.15s both cubic-bezier(0.12, 0.7, 0.22, 1);
}

@keyframes subscriber-life {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.7);
  }

  9% {
    opacity: 1;
    transform: translateY(-5px) scale(1.04);
  }

  15%,
  83% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-22px) scale(0.96);
  }
}

@keyframes confetti {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0);
  }

  12% {
    opacity: 1;
  }

  75% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(0.6);
  }
}

/* Fixed 1080px broadcast height with proportional, responsive columns. */
.leaderboard {
  --lb-grid: 9% minmax(0, 25%) 5% minmax(0, 16%) minmax(0, 29%) minmax(0, 16%);
  container-type: inline-size;
  width: 100%;
  height: 1080px;
  display: flex;
  flex-direction: column;
  padding: clamp(6px, 2.5vw, 32px);
  background: rgb(0 0 0 / 72%);
  color: #fff;
}
.lb-heading {
  flex-shrink: 0;
}
.lb-heading h1 {
  margin: 0;
  font-size: clamp(18px, 5.3cqw, 64px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: 0.035em;
}
.lb-columns,
.lb-row,
.lb-exit {
  display: grid;
  grid-template-columns: var(--lb-grid);
  align-items: center;
}
.lb-columns {
  flex-shrink: 0;
  margin: 0 0 clamp(8px, 1.8cqw, 24px);
  min-height: clamp(24px, 4cqw, 52px);
  font-size: clamp(6px, 1.65cqw, 22px);
  font-weight: 700;
  text-align: center;
  border-left: clamp(2px, 0.4cqw, 5px) solid transparent;
}
.lb-subtitle {
  grid-column: 1 / 4;
  text-align: left;
  font-size: clamp(7px, 2.5cqw, 36px);
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.lb-subtitle span {
  letter-spacing: 0.06em;
}
.lb-column-lots {
  grid-column: 4;
}
.lb-column-pnl {
  grid-column: 5;
}
.lb-column-roi {
  grid-column: 6;
}
.lb-column-lots,
.lb-column-pnl {
  border-right: 2px solid #cf973e;
}
.lb-list {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(3px, 0.6cqw, 8px);
}
.lb-list:focus-visible {
  outline: 2px solid #cf973e;
  outline-offset: 3px;
}
/* Preserve simulation FLIP positions and live snapshot fades. */
.lb-row,
.lb-exit {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  border-left: clamp(2px, 0.4cqw, 5px) solid transparent;
  background: rgb(110 119 121 / 27%);
  padding-block: 2px;
}
.lb-color-highlighted {
  border-left-color: #cf973e;
}
.lb-row.place-1 {
  background: linear-gradient(
    180deg,
    rgb(177 132 54 / 38%),
    rgb(99 87 64 / 27%)
  );
}
.lb-rank {
  position: relative;
  justify-self: center;
  display: grid;
  place-items: center;
  width: clamp(10px, 3.3cqw, 36px);
  height: clamp(12px, 4cqw, 44px);
  font-size: clamp(9px, 2.7cqw, 32px);
  font-weight: 600;
  line-height: 1;
}
.place-1 .lb-rank,
.place-2 .lb-rank,
.place-3 .lb-rank {
  --medal: #e6bb37;
  width: clamp(10px, 3.3cqw, 36px);
  height: clamp(12px, 4cqw, 44px);
  background: linear-gradient(135deg, var(--medal), #34291b);
  clip-path: polygon(14% 0, 86% 0, 100% 13%, 100% 78%, 50% 100%, 0 78%, 0 13%);
  border: 2px solid var(--medal);
  padding-bottom: min(0.8cqw, 8px);
  font-size: clamp(8px, 2.1cqw, 30px);
  text-shadow: 0 1px 2px #000;
}
.place-2 .lb-rank {
  --medal: #c4c8ca;
}
.place-3 .lb-rank {
  --medal: #d08a34;
}
.place-1 .lb-rank::after,
.place-2 .lb-rank::after,
.place-3 .lb-rank::after {
  content: "★";
  position: absolute;
  bottom: min(0.5cqw, 6px);
  font-size: min(0.8cqw, 10px);
  color: var(--medal);
}
.lb-name {
  min-width: 0;
  padding-inline: 2.3cqw 0.5cqw;
}
.lb-name strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(8px, 2.7cqw, 32px);
  font-weight: 400;
  line-height: 1.15;
}
.lb-lots,
.lb-pnl,
.lb-roi {
  min-width: 0;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: clamp(8px, 2.6cqw, 32px);
  font-weight: 900;
  line-height: 1.1;
}
.lb-lots,
.lb-pnl,
.lb-roi strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.lb-pnl {
  font-size: clamp(7px, 2.45cqw, 32px);
}
.lb-roi strong.positive {
  color: #c2ff32;
}
.lb-roi strong.negative {
  color: #ff3c60;
}
.lb-pnl,
.lb-roi strong.neutral {
  color: #fff;
}
.lb-roi strong {
  display: block;
  font-size: inherit;
}
.lb-roi strong.lb-roi-medium {
  font-size: 0.8em;
}
.lb-roi strong.lb-roi-long {
  font-size: 0.62em;
}
.lb-roi-unavailable strong {
  font-size: 0.75em;
}
.lb-footer {
  flex-shrink: 0;
  padding-top: 6px;
  color: #dce1e7;
  font-size: clamp(11px, 1.55cqw, 16px);
  line-height: 1.4;
}
.lb-footer small {
  font-size: inherit;
}

.lb-status {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 7px;
}
.lb-status.is-stale {
  color: #f1ca7b;
}
.lb-status small {
  width: 100%;
  overflow-wrap: anywhere;
}
.lb-simulation {
  color: #f1ca7b;
}
.lb-footer > span {
  margin-right: 6px;
}
.lb-footer > small {
  margin-left: 6px;
}
.lb-empty {
  padding: 25px 12px;
  color: #dce1e7;
  font-size: 13px;
}

/* Team rows reserve three name lines and share the available 1080px height. */
.team-leaderboard .team-lb-list {
  display: grid;
  grid-template-rows: repeat(var(--team-row-count, 5), minmax(0, 1fr));
}
.team-leaderboard .team-lb-row {
  flex: none;
}
.team-leaderboard .team-lb-members {
  position: relative;
  max-height: 100%;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2.5cqw, 16px);
}
.team-leaderboard .team-lb-members strong {
  font-size: clamp(12px, 2.65cqw, 16px);
}

/* Illustrator pages: 644 x 1092. Scope artwork styling away from Spotlight. */
.leaderboard.lb-artwork {
  --lb-grid: 9% minmax(0, 25%) minmax(0, 8%) minmax(0, 16%) minmax(0, 23%)
    minmax(0, 19%);
  width: min(100%, calc(100vh * 644 / 1092));
  height: auto;
  aspect-ratio: 644 / 1092;
  flex: none;
  margin-inline: auto;
  padding: 0;
  background: #000;
  overflow: hidden;
}
.lb-artwork .lb-heading {
  height: 10.2cqw;
  margin-top: 5.9cqw;
  overflow: hidden;
}
.lb-artwork .lb-heading h1 {
  font-family: "Eurostile Extended Black", sans-serif;
  font-size: 9.174cqw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
}
.lb-artwork .lb-subtitle {
  position: relative;
  top: -0.6cqw;
  flex: none;
  height: 5.2cqw;
  margin: 0.6cqw 0 0;
  font-family: "Century Gothic Pro Headers", sans-serif;
  font-size: 4.853cqw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-align: center;
}
.lb-artwork .lb-subtitle span {
  font-family: "Noto Sans SC Subtitle", "Microsoft YaHei", sans-serif;
  font-size: 3.721cqw;
  font-weight: 100;
  vertical-align: 0.264cqw;
  letter-spacing: 0.06em;
}
.lb-artwork .lb-columns {
  height: 8.2cqw;
  min-height: 0;
  margin: 2.5cqw 0 0;
  border: 0;
  font-size: 2.174cqw;
  line-height: 1.2;
}
.lb-artwork .lb-columns span {
  font-family: "Century Gothic Pro Headers", sans-serif;
  font-size: inherit;
  font-weight: 700;
}
.lb-artwork .lb-column-name {
  grid-column: 2;
  text-align: left;
  padding-left: 0.6cqw;
}
.lb-artwork .lb-column-region {
  grid-column: 3;
}
.lb-artwork .lb-column-lots,
.lb-artwork .lb-column-pnl {
  border: 0;
}
.lb-artwork .lb-column-pnl {
  font-size: inherit;
}
.lb-artwork .lb-column-lots {
  font-size: inherit;
}
.lb-artwork .lb-column-unit {
  font-size: inherit;
}
.lb-artwork .lb-list {
  flex: 1;
  margin-bottom: 5.65cqw;
  gap: 1cqw;
  overflow: hidden;
}
.lb-artwork .lb-row,
.lb-artwork .lb-exit {
  border-left-width: 0.75cqw;
  border-left-color: transparent;
  padding: 0;
  background: #191919;
}
.lb-artwork .lb-row.place-1,
.lb-artwork .lb-exit.place-1 {
  background: linear-gradient(180deg, #423522, #191919);
}
.lb-artwork.individual-leaderboard :is(.place-1, .place-2, .place-3),
.lb-artwork.team-leaderboard :is(.place-1, .place-2, .place-3) {
  border-left-color: #cf973e;
}
.lb-artwork .lb-name {
  padding-inline: 0.25cqw 0.5cqw;
}
.lb-artwork .lb-name strong,
.lb-artwork .lb-country,
.lb-artwork .lb-lots {
  font-family: "Mulish", "Segoe UI", sans-serif;
  font-size: 2.329cqw;
  font-weight: 400;
  line-height: 1.25;
}
.lb-artwork .lb-name strong,
.lb-artwork .team-member-name {
  font-family: "Mulish", "Segoe UI", sans-serif;
  font-weight: 700;
}
.lb-artwork .lb-country {
  min-width: 0;
  text-align: center;
}
.lb-artwork .lb-pnl,
.lb-artwork .lb-roi {
  font-family: "Eurostile Extended Black", sans-serif;
  font-size: 2.484cqw;
  font-weight: 700;
}
.lb-artwork .lb-roi strong {
  font-family: "Eurostile Extended Black", sans-serif;
  font-weight: 700;
}
.lb-artwork.team-leaderboard .lb-pnl,
.lb-artwork.team-leaderboard .lb-roi {
  font-size: 2.329cqw;
}
.lb-artwork .lb-rank,
.lb-artwork :is(.place-1, .place-2, .place-3) .lb-rank {
  width: 4cqw;
  height: 4.9cqw;
  padding: 0;
  border: 0;
  clip-path: none;
  font-size: 2.9cqw;
  background: none;
  text-shadow: none;
}
.lb-artwork :is(.place-1, .place-2, .place-3) .lb-rank {
  color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.lb-artwork .lb-rank::after {
  content: none;
}
.lb-artwork .lb-rank {
  width: 8cqw;
  font-family: "Mulish", "Segoe UI", sans-serif;
  font-size: 3.375cqw;
  font-weight: 700;
}
.lb-artwork :is(.place-1, .place-2, .place-3) .lb-rank {
  width: 4cqw;
}
.lb-artwork .lb-footer {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.lb-artwork.team-leaderboard .team-lb-list {
  margin-bottom: 13.5cqw;
}
.lb-artwork.team-leaderboard .team-lb-members {
  grid-column: 2;
  align-self: center;
  width: 100%;
  padding: 0;
  gap: 2.7cqw;
  max-height: calc(100% - 2cqw);
  overflow: auto;
  scrollbar-width: none;
}
.lb-artwork.team-leaderboard .team-lb-members strong {
  display: block;
  flex: none;
  overflow: visible;
}
.lb-artwork .team-member-name {
  display: block;
  min-width: 0;
  padding-inline: 0.6cqw 0.5cqw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lb-artwork.team-leaderboard .lb-column-name {
  padding-left: 5.3cqw;
}
.lb-artwork.team-leaderboard .team-member-name {
  padding-left: 5.3cqw;
}
.lb-artwork.team-leaderboard .lb-lots {
  grid-column: 4;
}

/* Original medal artwork from the supplied Illustrator package. */
.lb-artwork .place-1 .lb-rank,
.trader-spotlight .place-1 .lb-rank {
  background-image: url("/img/Badge_no1.png");
}
.lb-artwork .place-2 .lb-rank,
.trader-spotlight .place-2 .lb-rank {
  background-image: url("/img/Badge_no2.png");
}
.lb-artwork .place-3 .lb-rank,
.trader-spotlight .place-3 .lb-rank {
  background-image: url("/img/Badge_no3.png");
}

.ranking-control {
  height: 100%;
  overflow: auto;
  display: flex;
  gap: 36px;
  padding: 32px;
  background: #101a2b;
  color: #e6edf7;
  align-items: flex-start;
  flex-wrap: wrap;
}

.ranking-preview-panel {
  flex: 1 1 600px;
  width: min(900px, 100%);
  min-width: 0;
  max-width: 900px;
}

.ranking-preview-panel label {
  margin-top: 0;
  margin-bottom: 8px;
}

.ranking-preview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.ranking-preview {
  display: block;
  width: 100%;
  height: 1080px;
  border: 0;
}

.ranking-control-panel {
  width: min(520px, 100%);
}

.ranking-control h1 {
  font-size: 36px;
}

.ranking-control p {
  line-height: 1.6;
}

.ranking-control label {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.ranking-control select,
.ranking-control input {
  width: 100%;
  padding: 12px;
  color: #e6edf7;
  background: #1e304b;
  border: 1px solid #7b92b3;
  font: inherit;
  border-radius: 4px;
}

.ranking-control-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.ranking-control button {
  font: inherit;
  padding: 10px 14px;
  background: #e6edf7;
  color: #172941;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.ranking-control button:disabled {
  opacity: 0.45;
  cursor: default;
}

.ranking-control button:focus-visible,
.ranking-control input:focus-visible,
.ranking-control select:focus-visible {
  outline: 3px solid #6adee4;
  outline-offset: 3px;
}

.ranking-control-error {
  color: #ffb5b7;
}

.ranking-control-help {
  font-size: 13px;
  color: #b4c5df;
}

.ranking-control a {
  color: #6adee4;
}

.ranking-control iframe {
  border: 1px solid #536680;
  flex-shrink: 0;
  background: #11131f;
}

@media (max-width: 740px) {
  .ranking-control {
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 20px;
    gap: 24px;
  }

  .ranking-control-panel,
  .ranking-preview-panel {
    flex: 0 0 auto;
  }
}

:root {
  --ticker-height: 144px;
}
.ticker-container {
  width: 100%;
  height: 100%;
  background: #000000b2;
  container-type: inline-size;
}
.ticker-bar {
  position: relative;
  height: var(--ticker-height);
  width: 100%;
  display: flex;
  gap: 28px;
  /* background: #4c4c4c; */
  color: #fff;
  overflow: hidden;
}
.ticker-breaking-mode {
  border-bottom: 1px solid #d09543;
}
.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  padding-left: 30px;
  white-space: nowrap;
}
.ticker-label::after {
  content: "";
  width: 2px;
  height: 60px;
  margin-left: 4px;
  background: #d09543;
}
.ticker-live,
.ticker-news,
.ticker-breaking {
  font-family: "Eurostile Extended Black", sans-serif;
  line-height: 1;
}
.ticker-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #c60000, #760000);
  font-size: 36px;
}
.ticker-dot {
  align-self: flex-start;
  height: 5px;
  width: 5px;
  margin-top: 4px;
  border-radius: 50%;
  background: #fff;
}
.ticker-news,
.ticker-breaking {
  font-size: 48px;
}
.ticker-breaking-mode .ticker-label {
  gap: 0;
}
.ticker-breaking-mode .ticker-label::after {
  margin-left: 30px;
}
.ticker-breaking,
.ticker-breaking-mode .ticker-news {
  padding: 8px 20px;
}
.ticker-breaking {
  background: linear-gradient(90deg, #c60000, #760000);
}
.ticker-breaking-mode .ticker-news {
  background: #d9d9d9;
  color: #102c50;
}
.ticker-window {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.ticker-track {
  position: absolute;
  left: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: pre;
  font-family: Arial, sans-serif;
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
  animation: ticker-crawl linear forwards;
  will-change: transform;
}
@container (max-width: 1000px) {
  .ticker-label {
    padding-left: 16px;
    gap: 14px;
  }
  .ticker-news,
  .ticker-breaking {
    font-size: clamp(16px, 3.4cqw, 34px);
  }
  .ticker-live {
    font-size: clamp(14px, 2.8cqw, 28px);
    padding: 10px 6px;
  }
  .ticker-breaking,
  .ticker-breaking-mode .ticker-news {
    padding: 10px 8px;
  }
  .ticker-breaking-mode .ticker-label::after {
    margin-left: 16px;
  }
  .ticker-bar {
    gap: 16px;
  }
  .ticker-track {
    font-size: 36px;
  }
}
.tc-news-status {
  color: #cfd9e7;
  font-size: 14px;
  line-height: 1.5;
}

@keyframes ticker-crawl {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(var(--travel, -4000px));
  }
}

html:has(.ticker-control) {
  overflow: auto;
}

body:has(.ticker-control) {
  height: auto;
  min-height: 100%;
  background: #0d111b;
  overflow: auto;
}

#root:has(.ticker-control) {
  height: auto;
  min-height: 100%;
  overflow: visible;
}

.ticker-control {
  max-width: 960px;
  margin: 0 auto;
  padding: 45px 32px 60px;
}

.tc-brand {
  color: #ff5364;
  letter-spacing: 3px;
  font-weight: 700;
  font-size: 11px;
}

.ticker-control h1 {
  font-size: 43px;
  letter-spacing: -1.5px;
  margin: 16px 0;
}

.tc-intro {
  color: #9cabc2;
  font-size: 16px;
}

.tc-preview {
  margin: 30px 0;
  border: 1px solid #303c50;
  border-radius: 8px;
  overflow: hidden;
}

.tc-preview iframe {
  display: block;
  border: 0;
  width: 100%;
  height: var(--ticker-height);
}

.tc-preview-heading {
  padding: 10px 14px;
  background: #151d2b;
  color: #a8b5c9;
  font-size: 12px;
  font-weight: 700;
}

.tc-preview-bar {
  height: var(--ticker-height);
  background: #000;
}

.tc-preview-empty {
  margin: 0;
  padding: 20px 14px;
  color: #a8b5c9;
  font-size: 13px;
}

.tc-preview-note {
  margin: 0;
  padding: 10px 14px;
  color: #a8b5c9;
  font-size: 13px;
}

.tc-live-note {
  margin: 10px 0 24px;
  color: #a8b5c9;
  font-size: 13px;
  line-height: 1.5;
}

.ticker-control label {
  display: flex;
  justify-content: space-between;
  margin: 22px 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.ticker-control small {
  font-weight: 400;
  letter-spacing: 0;
  color: #9cabc2;
}

.ticker-control textarea {
  width: 100%;
  padding: 17px;
  border: 1px solid #39465c;
  border-radius: 8px;
  background: #151d2b;
  color: #fff;
  font: 16px/1.6 var(--client-font);
  resize: vertical;
}

.ticker-control input {
  width: 100%;
  accent-color: #ff2943;
}

.tc-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.tc-actions button {
  padding: 13px 18px;
  border: 1px solid #40506a;
  border-radius: 7px;
  background: #1d293c;
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.tc-actions .primary {
  background: #f51a36;
  border-color: #f51a36;
}

.tc-status {
  margin-top: 20px;
  color: #99e1b4;
  font-size: 14px;
}

.tc-help {
  margin-top: 30px;
  padding: 22px;
  background: #151d2b;
  border-radius: 8px;
  color: #a8b5c9;
}

.tc-help strong {
  font-size: 11px;
  letter-spacing: 2px;
}

.tc-help p {
  font-size: 13px;
  color: #a8b5c9;
  margin: 10px 0;
}

.tc-help code {
  font-size: 14px;
  color: white;
}

/* Landing menu styles stay scoped so OBS display backgrounds remain transparent. */
.overlay-home {
  height: 100%;
  overflow-y: auto;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  background: radial-gradient(ellipse at top, #202b3d, #0d1119 70%);
}

.overlay-menu {
  width: min(560px, 100%);
  padding: 30px;
  border: 1px solid #344052;
  border-top: 4px solid #e82039;
  background: #111824;
}

.overlay-menu-brand {
  margin: 0 0 14px;
  color: #ff667a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.overlay-menu h1 {
  font-size: 32px;
  font-weight: 850;
}

.overlay-menu-intro {
  color: #aebace;
  font-size: 14px;
  margin: 12px 0 24px;
}

.overlay-menu nav {
  display: grid;
  gap: 8px;
}

.overlay-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #303d51;
  background: #192333;
  color: #f0f2fa;
  text-decoration: none;
}

.overlay-menu a:hover {
  background: #243248;
  border-color: #72839c;
}

.overlay-menu a:focus-visible {
  outline: 3px solid #ff667a;
  outline-offset: 3px;
}

.overlay-menu strong {
  display: block;
  font-size: 15px;
}

.overlay-menu small {
  display: block;
  margin-top: 4px;
  color: #afbdd1;
  font-size: 12px;
}

.overlay-menu-arrow {
  color: #ff667a;
  font-size: 23px;
}

@media (max-width: 420px) {
  .overlay-home {
    padding: 20px 12px;
  }

  .overlay-menu {
    padding: 22px 16px;
  }
}

.ranking-settings {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid #40506a;
  background: #141e2d;
}

.ranking-control h2 {
  font-size: 21px;
  margin: 0 0 12px;
}

.ranking-settings .ranking-control-help {
  margin-bottom: 20px;
}

.ranking-setting-field {
  margin: 20px 0;
}

.ranking-settings .ranking-setting-field > label {
  display: block;
  font-size: 12px;
  font-weight: 750;
  margin: 0 0 7px;
}

.ranking-setting-field > p {
  color: #b4c5df;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 10px;
}

.ranking-setting-field > small {
  display: block;
  color: #a9b8cc;
  font-size: 12px;
  margin-top: 7px;
}

.ranking-settings input[type="number"] {
  width: 100%;
}

.ranking-settings .ranking-setting-field .ranking-setting-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.ranking-setting-toggle input {
  width: auto;
  accent-color: #6adee4;
}

.ranking-settings-result {
  font-size: 13px;
  line-height: 1.5;
  padding: 12px;
  margin: 12px 0 0;
  border: 1px solid #536680;
}

.ranking-settings-result.is-success {
  color: #b4f1ce;
  border-color: #417258;
  background: #162f25;
}

.ranking-settings-result.is-error {
  color: #ffb5b7;
  border-color: #a45460;
  background: #361e29;
}

.operator-access {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  color: #e7eef9;
  background: #142236;
}

.operator-shell {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.operator-content {
  flex: 1;
  min-height: 0;
}

.operator-login {
  height: 100%;
  padding: 48px 32px;
  overflow: auto;
  color: #e6edf7;
  background: #101a2b;
}

.operator-login p {
  max-width: 520px;
  line-height: 1.6;
}

.operator-login a {
  color: #bdd6fa;
}

.operator-login button {
  padding: 12px 20px;
  border: 0;
  border-radius: 4px;
  color: #142236;
  background: #e6edf7;
  font: inherit;
  cursor: pointer;
}

.operator-access button {
  padding: 8px 14px;
  border: 1px solid #536680;
  color: inherit;
  background: #1b304b;
  cursor: pointer;
}
.operator-login form {
  display: grid;
  gap: 12px;
  width: min(100%, 360px);
  margin: 24px auto;
  text-align: left;
}
.operator-login input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #526078;
  border-radius: 6px;
  color: #fff;
  background: #152036;
  font: inherit;
}

/* Fifteen 1314 x 323px sections, each with a header, for a 1314 x 4845 OBS source. */
.trader-spotlight {
  width: 1314px;
  height: 4845px;
  padding: 0;
  background: rgb(0 0 0 / 72%);
}
.trader-spotlight .lb-columns {
  height: 84px;
  min-height: 84px;
  flex: 0 0 84px;
  margin: 0 0 36px;
  border-left: 0;
  font-size: clamp(8px, 1.75cqw, 24px);
}
.trader-spotlight .lb-columns span {
  font-family: "Century Gothic Pro Headers", sans-serif;
  font-weight: 700;
}
.trader-spotlight .lb-column-lots,
.trader-spotlight .lb-column-pnl {
  border-right-width: 1px;
}
.trader-spotlight .lb-list {
  flex: none;
  gap: 0;
}
.trader-section {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 1314px;
  flex: 0 0 323px;
  height: 323px;
  padding: 40px 0 24px;
}
.trader-status {
  position: absolute;
  right: 8px;
  bottom: 0;
  left: 8px;
  overflow: hidden;
  color: #dce1e7;
  font-size: 10px;
  line-height: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.trader-status.is-stale {
  color: #f1ca7b;
}
.trader-spotlight .lb-row,
.trader-spotlight .lb-exit {
  flex: 0 0 139px;
  height: 139px;
  border-left: 0;
  background: transparent;
}
.trader-spotlight .lb-name strong {
  font-family: "Mulish", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(12px, 2.7cqw, 38px);
}
.trader-spotlight .lb-rank {
  font-family: "Mulish", "Segoe UI", sans-serif;
  font-weight: 700;
  width: clamp(18px, 3.3cqw, 46px);
  height: clamp(22px, 4cqw, 56px);
}
.trader-spotlight :is(.place-1, .place-2, .place-3) .lb-rank {
  border: 0;
  padding: 0;
  clip-path: none;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.trader-spotlight :is(.place-1, .place-2, .place-3) .lb-rank::after {
  content: none;
}
.trader-spotlight .lb-country {
  font-family: "Mulish", "Segoe UI", sans-serif;
  min-width: 0;
  text-align: center;
  font-size: clamp(7px, 2.1cqw, 28px);
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
}
.trader-spotlight .lb-lots,
.trader-spotlight .lb-pnl,
.trader-spotlight .lb-roi {
  font-size: clamp(10px, 2.6cqw, 38px);
}

.trader-spotlight .lb-lots {
  font-family: "Mulish", "Segoe UI", sans-serif;
  font-weight: 400;
}
.trader-spotlight .lb-pnl,
.trader-spotlight .lb-roi,
.trader-spotlight .lb-roi strong {
  font-family: "Eurostile Extended Black", sans-serif;
  font-weight: 700;
}

/* Compact Spotlight: 20px header, 10px gap and 51px data row per 81px section. */
.trader-spotlight.compact-trader-spotlight {
  --lb-grid: 9% minmax(0, 25%) minmax(0, 14%) minmax(0, 14%) minmax(0, 23%)
    minmax(0, 15%);
  width: 644px;
  height: 1215px;
  background: #000;
}
.compact-trader-spotlight .trader-section {
  width: 644px;
  height: 81px;
  flex: 0 0 81px;
  padding: 0;
}
.compact-trader-spotlight .lb-columns {
  height: 20px;
  min-height: 20px;
  flex: 0 0 20px;
  margin: 0 0 10px;
  border-left: 4px solid transparent;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}
.compact-trader-spotlight .lb-column-name {
  grid-column: 2;
  text-align: left;
  padding-left: 1.8cqw;
}
.compact-trader-spotlight .lb-column-region {
  grid-column: 3;
}
.compact-trader-spotlight .lb-column-lots,
.compact-trader-spotlight .lb-column-pnl {
  border-right: 0;
}
.compact-trader-spotlight .lb-row,
.compact-trader-spotlight .lb-exit {
  height: 51px;
  flex: 0 0 51px;
  padding: 0;
  border-left: 4px solid #cf973e;
  background: #191919;
}
.compact-trader-spotlight .lb-name {
  padding-inline: 1.8cqw 0.5cqw;
}
.compact-trader-spotlight
  :is(.lb-row, .lb-exit):is(.place-1, .place-2, .place-3) {
  background: linear-gradient(180deg, #423522, #080808);
}
.compact-trader-spotlight .lb-name strong,
.compact-trader-spotlight .lb-country,
.compact-trader-spotlight .lb-lots {
  font-size: 15px;
}
.compact-trader-spotlight .lb-pnl,
.compact-trader-spotlight .lb-roi {
  font-size: 16px;
}
.compact-trader-spotlight .lb-rank {
  width: 26px;
  height: 32px;
  font-size: 21.73px;
}
