#lt-stage {
  --ink: #25263e;
  --gold: #ffd43b;
  --cream: #fff3d5;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1080px;
  height: 1920px;
  transform: translate(-50%, -50%) scale(var(--lt-scale, 1));
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 19px;
  padding: 32px 44px 24px;
  overflow: hidden;
  color: #fffaf1;
  font: 900 27px/1.14 Inter, "Segoe UI", Arial, sans-serif;
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
}
#lt-stage * { box-sizing: border-box; }
#lt-stage :is(h1,h2,p) { margin: 0; }
#lt-stage [hidden] { display: none !important; }
.lt-head, .lt-turn, .lt-teams, .lt-gifts, #lt-stage footer { flex: none; }
.lt-overline, .lt-section-title { display: flex; align-items: center; gap: 17px; }
.lt-overline, .lt-section-title h2, #lt-stage small, #lt-target {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.lt-brand {
  width: 27px; height: 27px;
  border: 2px solid var(--ink); border-radius: 8px;
  background: radial-gradient(circle at 32% 32%,var(--ink) 2.8px,transparent 3.2px),
    radial-gradient(circle at 68% 68%,var(--ink) 2.8px,transparent 3.2px),var(--gold);
  transform: rotate(-13deg);
}
.lt-rule { height: 3px; background: #b6a57c; flex: 1; border-radius: 2px; }
.lt-title-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 8px; }
.lt-title-row h1 {
  font-size: 112px; line-height: .98; letter-spacing: -8px;
  -webkit-text-stroke: 7px var(--ink); font-weight: 900;
}
.lt-title-row em { color: var(--gold); font-style: italic; }
.lt-clock { display: grid; justify-items: end; align-self: end; padding-bottom: 6px; }
.lt-clock strong { font-size: 52px; line-height: 1; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.lt-clock small { margin-bottom: 4px; }
#lt-connection { flex: none; }
#lt-connection:not(:has(.tt-core-notice:not([hidden]))),
#lt-connection:has(.preview-status) { display: none; }
#lt-connection .tt-core-overlay-status {
  position: static; width: 100%; margin: 0; transform: none; text-align: left;
}
#lt-connection .tt-core-pill { display: none !important; }
#lt-connection .tt-core-notice {
  border: 2px solid #a69879; border-radius: 12px; background: transparent; box-shadow: none;
  margin: 0; padding: 10px 17px; color: #fffaf1;
  font: 900 19px/1.2 Inter, "Segoe UI", Arial, sans-serif;
  -webkit-text-stroke: 2.4px var(--ink); paint-order: stroke fill;
}
#lt-connection .tt-core-notice strong { display: inline; font-size: inherit; font-weight: 900; }
#lt-connection .tt-core-notice strong::after { content: ' · '; }
#lt-connection .tt-core-notice a { color: var(--gold); font-weight: 900; }
#lt-connection .tt-allow-hint { margin-top: .23em !important; }
#lt-connection .tt-game-page-link { display: block; margin-top: .23em; }
.lt-board-slot { flex: 1; min-height: 0; display: grid; place-items: center; container-type: size; }
.lt-board-wrap { width: min(100cqw, 100cqh); aspect-ratio: 1; position: relative; }
#lt-board { display: block; width: 100%; height: 100%; }
#lt-tags { pointer-events: none; position: absolute; inset: 0; z-index: 2; }
.lt-tag {
  position: absolute; padding: 4px 15px 7px; border-radius: 11px; border: 3px solid var(--ink);
  background: var(--cream); color: var(--ink); -webkit-text-stroke: 0;
  max-width: 33%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: 29px; font-weight: 900; letter-spacing: -.7px;
  transform: translate(-50%,-100%); box-shadow: 0 4px 0 var(--team, #ffd43b);
}
.lt-tag strong, #lt-tags small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#lt-tags small { font-size: 17px; letter-spacing: .4px; }
#lt-receipts { position: absolute; inset: 0; pointer-events: none; }
.lt-burst {
  position: absolute; left: 6%; bottom: 61%; width: 33%; display: grid; align-content: end; gap: 3px;
}
.lt-burst[data-team="1"], .lt-burst[data-team="2"] { left: auto; right: 6%; }
.lt-burst[data-team="2"], .lt-burst[data-team="3"] { bottom: 6%; }
.lt-burst span {
  font-size: 21px; letter-spacing: -.5px; padding: 3px 8px; border-radius: 6px;
  background: var(--cream); color: var(--ink); -webkit-text-stroke: 0; border: 2px solid var(--ink);
  border-left: 8px solid var(--team); overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
#lt-result {
  position: absolute; left: 12%; right: 12%; top: 36%; padding: 21px 25px 27px;
  border: 5px solid var(--ink); border-radius: 14px; box-shadow: 0 8px 0 var(--ink), inset 0 0 0 5px var(--gold);
  background: var(--cream); color: var(--ink); -webkit-text-stroke: 0;
  text-align: center; display: grid; justify-items: center; gap: 6px;
}
.lt-trophy { width: 57px; height: 57px; display: grid; place-items: center; background: var(--gold); border: 3px solid var(--ink); border-radius: 50%; font-size: 34px; }
#lt-winners { font-size: 55px; line-height: 1.05; letter-spacing: -2px; overflow-wrap: anywhere; }
#lt-mvp { font-size: 27px; }
.lt-turn {
  display: flex; align-items: center; gap: 26px; min-height: 138px;
  border-block: 3px solid #9d9479; padding-block: 8px;
}
#lt-dice { width: 150px; height: 132px; flex: none; }
.lt-turn-copy { min-width: 0; }
#lt-turn-label { color: var(--gold); display: block; }
#lt-call { font-size: 53px; line-height: 1.12; letter-spacing: -2px; -webkit-text-stroke: 4px var(--ink); }
#lt-call, #lt-cue, #lt-turn-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#lt-call.lt-long { font-size: 36px; letter-spacing: -1px; white-space: normal; }
#lt-turn-label.lt-long { font-size: 19px; letter-spacing: .7px; white-space: normal; overflow-wrap: anywhere; }
#lt-cue { margin-top: 4px !important; font-size: 27px; }
.lt-section-title { margin-bottom: 14px; text-transform: uppercase; }
.lt-section-title h2 { color: var(--gold); font-size: 25px; }
#lt-target { font-size: 20px; }
#lt-roster, #lt-legend { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 32px; row-gap: 14px; }
.lt-team { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 0 12px; }
.lt-number {
  grid-row: span 2; width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 13px; border: 3px solid var(--ink); background: var(--team); color: var(--ink);
  -webkit-text-stroke: 0; box-shadow: inset 0 2px 0 #fff8, 0 3px 0 var(--ink); font-size: 35px;
}
.lt-team-name { font-size: 32px; letter-spacing: -.8px; }
.lt-team-home { color: var(--cream); font-size: 22px; }
.lt-helpers, .lt-team-name { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.lt-helpers { grid-column: 2 / -1; font-size: 23px; line-height: 1.2; }
#lt-legend { row-gap: 12px; }
.lt-gift { display: flex; align-items: center; min-width: 0; gap: 12px; }
.lt-gift img { width: 48px; height: 48px; object-fit: contain; flex: none; }
.lt-gift > div { display: flex; min-width: 0; flex: 1; align-items: baseline; flex-wrap: nowrap; gap: 8px; justify-content: space-between; }
.lt-gift strong, #lt-legend small { white-space: nowrap; }
.lt-gift strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 29px; letter-spacing: -.8px; }
#lt-legend small { letter-spacing: 0; text-transform: none; font-size: 24px; }
#lt-stage footer { text-align: center; font-size: 19px; line-height: 1.35; }
