/* =========================================================================
   TORNEO — presentation, bracket, versus and finale (ui/tourneyScreen.js).
   Championship Billiards Lounge aesthetic: dark arena with overhead brass
   spotlight, glassmorphic cards, gold for winners, cyan for your path.
   ========================================================================= */
.tourney-screen {
  position: fixed;
  inset: 0;
  z-index: 1000; /* above the table, the bubbles and the HUD */
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(250, 204, 21, 0.16) 0%, transparent 56%),
    radial-gradient(ellipse at 18% 72%, rgba(56, 189, 248, 0.1) 0%, transparent 48%),
    radial-gradient(ellipse at 82% 72%, rgba(248, 113, 113, 0.08) 0%, transparent 48%),
    radial-gradient(circle at 50% 50%, #0b111e 0%, #04070e 100%);
  color: #e2e8f0;
  overflow: hidden;
}
.tourney-screen.hidden {
  display: none;
}
.ts-stage {
  position: relative;
  width: min(96vw, 168vh);
  aspect-ratio: 16 / 9;
  font-size: clamp(9px, min(1.05vw, 1.9vh), 16px);
}
.ts-stage.shake {
  animation: ts-shake 0.42s ease-out 0.55s;
}

/* ---- Titles ------------------------------------------------------------ */
.ts-title {
  position: absolute;
  top: 2.2%;
  left: 0;
  right: 0;
  text-align: center;
  animation: ts-slam 0.6s cubic-bezier(0.2, 1.6, 0.4, 1) both;
}
.ts-title h2 {
  margin: 0;
  font-size: 3.1em;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fffbeb 0%, #fde68a 52%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.65)) drop-shadow(0 0 22px rgba(251, 191, 36, 0.28));
}
.ts-title.small h2 {
  font-size: 2.05em;
}
.ts-kicker {
  display: block;
  font-size: 0.85em;
  font-weight: 800;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 0.25em;
}
.ts-sub {
  display: inline-block;
  margin-top: 0.45em;
  padding: 0.25em 1.1em;
  border-radius: 999px;
  font-size: 0.98em;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.05em;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(250, 204, 21, 0.2);
}

/* ---- Portraits --------------------------------------------------------- */
.ts-face {
  display: inline-block;
  flex: none;
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  border: 2px solid rgba(250, 204, 21, 0.35);
  background-color: #0f172a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.65);
}
.ts-face-md {
  width: 3.6em;
  height: 3.6em;
}
.ts-face-lg {
  width: 5.8em;
  height: 5.8em;
  border-width: 2.5px;
}
.ts-face-xl {
  width: 13.5em;
  height: 13.5em;
  border-width: 3.5px;
}

/* ---- Intro: the 8 players / 4 pairs ----------------------------------- */
.ts-fighters {
  position: absolute;
  top: 23%;
  left: 6%;
  right: 6%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2em 1.4em;
}
.ts-fighter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
  padding: 1em 0.75em 0.9em;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(19, 28, 46, 0.88) 0%, rgba(10, 15, 26, 0.94) 100%);
  border: 1px solid rgba(250, 204, 21, 0.22);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  animation: ts-drop 0.5s cubic-bezier(0.2, 1.5, 0.4, 1) both;
}
.ts-fighter.is-you {
  border-color: rgba(56, 189, 248, 0.85);
  background: linear-gradient(180deg, rgba(14, 34, 58, 0.9) 0%, rgba(10, 16, 28, 0.95) 100%);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(56, 189, 248, 0.25),
    inset 0 1px 0 rgba(186, 230, 253, 0.16);
}
.ts-fighter.is-you .ts-face {
  border-color: #38bdf8;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
}
.ts-fighter-name {
  font-weight: 800;
  font-size: 1.2em;
  color: #f8fafc;
}
.ts-fighter-name em {
  font-style: normal;
  font-size: 0.68em;
  font-weight: 900;
  padding: 0.12em 0.5em;
  border-radius: 999px;
  background: #38bdf8;
  color: #04111d;
  vertical-align: middle;
  margin-left: 0.2em;
}
.ts-fighter-style {
  font-size: 0.84em;
  font-weight: 600;
  color: #94a3b8;
  text-align: center;
  padding: 0.18em 0.65em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* ---- Quotes (dark-glass lounge bubbles) ------------------------------- */
.ts-quote {
  position: absolute;
  bottom: 12.5%;
  max-width: 46%;
  padding: 0.72em 1.15em;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(14, 21, 35, 0.92), rgba(9, 13, 23, 0.96));
  border: 1px solid rgba(250, 204, 21, 0.32);
  border-left: 3px solid #facc15;
  backdrop-filter: blur(12px);
  color: #f1f5f9;
  font-size: 1.12em;
  line-height: 1.35;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  animation: ts-pop 0.45s cubic-bezier(0.2, 1.6, 0.4, 1) both 1.1s;
}
.ts-quote b {
  color: #fde68a;
  font-weight: 800;
}
.ts-quote-left {
  left: 4%;
  border-left: 3px solid #38bdf8;
}
.ts-quote-right {
  right: 4%;
  border-left: 1px solid rgba(248, 113, 113, 0.32);
  border-right: 3px solid #f87171;
  border-color: rgba(248, 113, 113, 0.35);
}
.ts-quote-center {
  left: 50%;
  transform: translateX(-50%);
  animation-name: ts-pop-center;
}
.ts-quote-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  animation: ts-fade-in 0.4s ease both;
}
.ts-finale .ts-quote {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  margin: 0.5em auto 0;
  max-width: 70%;
}

/* ---- Footer buttons ---------------------------------------------------- */
.ts-footer {
  position: absolute;
  bottom: 2.4%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 1em;
}
.ts-btn {
  font-size: 1.05em;
  padding: 0.55em 1.25em;
  border-radius: 11px;
}
.ts-primary {
  position: relative;
  overflow: hidden;
  animation: ts-glow 1.6s ease-in-out infinite;
}
/* The screen moves on by itself: the A button fills up as a countdown */
.ts-primary.ts-auto::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: rgba(28, 20, 5, 0.55);
  transform-origin: left;
  animation: ts-countdown var(--auto, 3s) linear forwards;
}
@keyframes ts-countdown {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ---- Bracket ----------------------------------------------------------- */
.ts-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ts-line {
  fill: none;
  stroke: rgba(148, 163, 184, 0.25);
  vector-effect: non-scaling-stroke;
  stroke-width: 2;
}
.ts-line.lit {
  stroke: #fbbf24;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.45));
}
.ts-line.yours {
  stroke: #38bdf8;
  filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.55));
}
.ts-line.anim-draw {
  animation: ts-line-on 0.7s ease both;
}
.ts-col-head {
  position: absolute;
  top: 12.5%;
  text-align: center;
  font-weight: 800;
  font-size: 0.98em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fde68a;
  padding-bottom: 0.35em;
  border-bottom: 1px solid rgba(250, 204, 21, 0.22);
}
.ts-col-head i {
  color: #38bdf8;
  font-style: normal;
}
.ts-match {
  position: absolute;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 4px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.92), rgba(10, 15, 27, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.ts-match.is-yours {
  border-color: rgba(56, 189, 248, 0.58);
}
.ts-match.is-current {
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.32), 0 0 26px rgba(56, 189, 248, 0.42);
  animation: ts-current 1.6s ease-in-out infinite;
}
.ts-match.is-empty {
  opacity: 0.42;
}
.ts-entry {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.28em 0.52em;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
}
.ts-entry .ts-face {
  width: 1.8em;
  height: 1.8em;
}
.ts-entry .ts-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ts-entry .ts-score {
  min-width: 1.4em;
  text-align: center;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.ts-entry.is-you .ts-name {
  color: #7dd3fc;
}
.ts-entry.won {
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.3), rgba(251, 191, 36, 0.07));
}
.ts-entry.won .ts-score {
  color: #fde68a;
}
.ts-entry.lost {
  opacity: 0.45;
}
.ts-entry.lost .ts-name {
  text-decoration: line-through;
}
.ts-entry.tbd {
  color: #64748b;
  font-style: italic;
  justify-content: center;
}
/* Results of a round coming in */
.ts-entry.anim-reveal.won {
  animation: ts-win 0.5s ease both;
}
.ts-entry.anim-reveal.lost {
  animation: ts-lose 0.5s ease both;
}
.ts-entry.anim-reveal .ts-score {
  animation: ts-pop 0.4s cubic-bezier(0.2, 1.6, 0.4, 1) both;
  animation-delay: inherit;
}
.ts-match.anim-arrive,
.ts-champ.anim-arrive {
  animation: ts-arrive 0.55s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
.ts-champ {
  position: absolute;
  transform: translate(0%, -50%);
  width: 15%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35em;
  padding: 0.9em 0.5em;
  border-radius: 16px;
  background: rgba(12, 18, 30, 0.72);
  border: 1.5px dashed rgba(251, 191, 36, 0.38);
  color: #94a3b8;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}
.ts-champ.has-champ {
  border-style: solid;
  border-color: #fbbf24;
  color: #fde68a;
  background: radial-gradient(circle at 50% 25%, rgba(251, 191, 36, 0.28), rgba(12, 18, 32, 0.95));
  box-shadow: 0 0 34px rgba(251, 191, 36, 0.35);
}
.ts-champ.is-you {
  border-color: #38bdf8;
}
.ts-trophy {
  font-size: 2.3em;
  filter: drop-shadow(0 4px 10px rgba(251, 191, 36, 0.45));
}

/* ---- Versus ------------------------------------------------------------ */
.ts-vs-divider {
  position: absolute;
  top: 15%;
  bottom: 24%;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(250, 204, 21, 0.38) 35%,
    rgba(250, 204, 21, 0.45) 50%,
    rgba(250, 204, 21, 0.38) 65%,
    transparent 100%
  );
  pointer-events: none;
}
.ts-vs-round {
  position: absolute;
  top: 4.5%;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 2.4em;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fffbeb 0%, #fde68a 58%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.55));
  animation: ts-slam 0.5s cubic-bezier(0.2, 1.6, 0.4, 1) both;
}
.ts-vs-side {
  position: absolute;
  top: 16.5%;
  width: 35%;
  padding: 1.5em 1.2em 1.3em;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.88) 0%, rgba(9, 13, 23, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65em;
}
.ts-vs-side.left {
  left: 4.5%;
  border-top: 2px solid rgba(56, 189, 248, 0.78);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.6),
    0 0 42px rgba(56, 189, 248, 0.14),
    inset 0 1px 0 rgba(186, 230, 253, 0.14);
  animation: ts-from-left 0.55s cubic-bezier(0.2, 1.2, 0.4, 1) both 0.15s;
}
.ts-vs-side.right {
  right: 4.5%;
  border-top: 2px solid rgba(248, 113, 113, 0.78);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.6),
    0 0 42px rgba(248, 113, 113, 0.14),
    inset 0 1px 0 rgba(254, 202, 202, 0.12);
  animation: ts-from-right 0.55s cubic-bezier(0.2, 1.2, 0.4, 1) both 0.15s;
}
.ts-vs-side.left .ts-face,
.ts-vs-side.left .ts-face-pair {
  border-color: #38bdf8;
  box-shadow: 0 0 36px rgba(56, 189, 248, 0.36);
}
.ts-vs-side.right .ts-face,
.ts-vs-side.right .ts-face-pair {
  border-color: #f87171;
  box-shadow: 0 0 36px rgba(248, 113, 113, 0.36);
}
.ts-vs-faces {
  display: flex;
  justify-content: center;
}
.ts-face-pair {
  width: 9.8em;
  height: 9.8em;
  border-width: 3.5px;
}
.ts-face-pair + .ts-face-pair {
  margin-left: -2.2em;
}
.is-pair .ts-vs-name {
  font-size: 1.75em;
}
.ts-vs-name {
  font-size: 2.2em;
  font-weight: 900;
  color: #f8fafc;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  text-align: center;
}
.ts-vs-tag {
  font-size: 0.92em;
  font-weight: 700;
  color: #cbd5e1;
  text-align: center;
  max-width: 92%;
  padding: 0.25em 0.9em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.ts-vs-mark {
  position: absolute;
  top: 33%;
  left: 50%;
  transform: translateX(-50%);
  animation: ts-vs 0.5s cubic-bezier(0.2, 1.8, 0.4, 1) both 0.55s;
}
.ts-vs-badge {
  display: grid;
  place-items: center;
  width: 2.35em;
  height: 2.35em;
  border-radius: 50%;
  font-size: 3.5em;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.04em;
  padding-right: 0.08em;
  color: #fde68a;
  background: radial-gradient(circle at 35% 28%, #293548 0%, #0d1322 72%);
  border: 2px solid rgba(250, 204, 21, 0.72);
  box-shadow:
    0 0 0 6px rgba(250, 204, 21, 0.12),
    0 12px 34px rgba(0, 0, 0, 0.75),
    0 0 36px rgba(250, 204, 21, 0.28);
  text-shadow: 0 2px 10px rgba(250, 204, 21, 0.45);
}
.ts-vs-info {
  position: absolute;
  top: 75.5%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.36em 1.25em;
  border-radius: 999px;
  background: rgba(13, 19, 32, 0.85);
  border: 1px solid rgba(250, 204, 21, 0.26);
  text-align: center;
  font-size: 1.08em;
  font-weight: 700;
  color: #e2e8f0;
  white-space: nowrap;
  animation: ts-fade-in 0.4s ease both 0.9s;
}

/* ---- Finale ------------------------------------------------------------ */
.ts-finale {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  text-align: center;
}
.ts-crown {
  font-size: 4.5em;
  filter: drop-shadow(0 6px 20px rgba(251, 191, 36, 0.5));
  animation: ts-slam 0.6s cubic-bezier(0.2, 1.6, 0.4, 1) both;
}
.ts-champ-face {
  width: 11em;
  height: 11em;
  border-color: #fbbf24;
  box-shadow: 0 0 60px rgba(251, 191, 36, 0.55);
  animation: ts-pop 0.6s cubic-bezier(0.2, 1.6, 0.4, 1) both 0.3s;
}
.ts-out-face {
  filter: grayscale(0.7);
}
.ts-finale-title {
  margin: 0.2em 0 0;
  font-size: 2.5em;
  font-weight: 900;
  color: #fde68a;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  animation: ts-slam 0.6s cubic-bezier(0.2, 1.6, 0.4, 1) both 0.5s;
}
.is-out .ts-finale-title {
  color: #fca5a5;
}
.ts-finale-name {
  font-size: 1.6em;
  font-weight: 800;
}
.ts-finale-champ {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 1.15em;
  margin-top: 0.3em;
  padding: 0.4em 1em;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(250, 204, 21, 0.25);
}
.ts-path {
  list-style: none;
  margin: 0.6em 0 0;
  padding: 0;
  display: flex;
  gap: 0.8em;
  font-size: 1em;
}
.ts-path li {
  padding: 0.35em 0.9em;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.ts-path li span {
  color: #fbbf24;
  font-weight: 800;
}
.ts-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.ts-confetti i {
  position: absolute;
  top: -5%;
  width: 0.7em;
  height: 1.1em;
  background: hsl(var(--hue), 90%, 60%);
  border-radius: 2px;
  animation: ts-confetti 3.2s linear infinite;
}

/* ---- Keyframes --------------------------------------------------------- */
@keyframes ts-slam {
  from { transform: scale(1.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes ts-drop {
  from { transform: translateY(-40px) scale(0.8); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@keyframes ts-pop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes ts-pop-center {
  from { transform: translateX(-50%) scale(0.4); opacity: 0; }
  to { transform: translateX(-50%) scale(1); opacity: 1; }
}
@keyframes ts-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes ts-line-on {
  0% { stroke: rgba(148, 163, 184, 0.28); stroke-width: 2; }
  50% { stroke: #fff7d6; stroke-width: 5; }
  100% { stroke-width: 2; }
}
@keyframes ts-win {
  0% { background: rgba(30, 41, 59, 0.7); }
  50% { background: rgba(251, 191, 36, 0.7); }
  100% { background: linear-gradient(90deg, rgba(251, 191, 36, 0.3), rgba(251, 191, 36, 0.07)); }
}
@keyframes ts-lose {
  from { opacity: 1; }
  to { opacity: 0.45; }
}
@keyframes ts-arrive {
  from { opacity: 0; transform: translate(-30px, -50%); }
  to { opacity: 1; transform: translate(0, -50%); }
}
@keyframes ts-current {
  0%, 100% { box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.32), 0 0 16px rgba(56, 189, 248, 0.34); }
  50% { box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.6), 0 0 30px rgba(56, 189, 248, 0.6); }
}
@keyframes ts-from-left {
  from { transform: translateX(-60%); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@keyframes ts-from-right {
  from { transform: translateX(60%); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@keyframes ts-vs {
  from { transform: translateX(-50%) scale(2.6) rotate(-12deg); opacity: 0; }
  to { transform: translateX(-50%) scale(1) rotate(0); opacity: 1; }
}
@keyframes ts-shake {
  0%, 100% { transform: none; }
  20% { transform: translate(-8px, 4px); }
  40% { transform: translate(7px, -5px); }
  60% { transform: translate(-5px, 3px); }
  80% { transform: translate(3px, -2px); }
}
@keyframes ts-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(251, 191, 36, 0); }
  50% { box-shadow: 0 0 18px rgba(251, 191, 36, 0.55); }
}
@keyframes ts-confetti {
  from { transform: translateY(0) rotate(0); }
  to { transform: translateY(110vh) rotate(720deg); }
}
@media (prefers-reduced-motion: reduce) {
  .tourney-screen * {
    animation-duration: 0.01s !important;
    animation-delay: 0s !important;
  }
}

/* ---- Pairs and mesas ---------------------------------------------------- */
.ts-faces {
  display: inline-flex;
  flex: none;
  align-items: center;
}
.ts-faces .ts-face + .ts-face {
  margin-left: -0.55em;
}
.ts-faces .ts-face-lg + .ts-face-lg,
.ts-faces .ts-champ-face + .ts-champ-face {
  margin-left: -1.6em;
}
.ts-intro.is-pairs .ts-fighters {
  grid-template-columns: repeat(2, 1fr);
  left: 16%;
  right: 16%;
}
/* One mark per mesa of the series: won · lost · still to play */
.ts-marks {
  display: inline-flex;
  gap: 3px;
  margin-right: 0.2em;
}
.ts-marks .mk {
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
  border: 1.5px solid rgba(148, 163, 184, 0.55);
}
.ts-marks .mk.won {
  background: #fbbf24;
  border-color: #fde68a;
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.6);
}
.ts-marks .mk.lost {
  background: rgba(100, 116, 139, 0.45);
  border-color: transparent;
}
.ts-entry.is-you .ts-marks .mk.won {
  background: #38bdf8;
  border-color: #bae6fd;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.6);
}
/* Points of every mesa under the match */
.ts-mesas {
  display: flex;
  justify-content: center;
  gap: 0.55em;
  padding: 0.2em 0.35em 0.1em;
  font-size: 0.76em;
  font-variant-numeric: tabular-nums;
  color: #94a3b8;
}
.ts-mesas span {
  white-space: nowrap;
  padding: 0.08em 0.45em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}
.ts-bracket.is-pairs .ts-entry .ts-name {
  font-size: 1.05em;
}
