/* Host fast accuracy — compact podium + sheet (projector) */
.lango-host #screen-host-fast-results.host-fast-result-screen {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  color: #fff;
  font-family: "Nunito", sans-serif;
  background: #7a2f7a;
}

.lango-host #screen-host-fast-results.host-fast-result-screen.active {
  inset: auto;
  z-index: 20;
  max-width: none;
  margin: 0;
  padding: 0;
}

.lango-host #screen-host-fast-results * {
  box-sizing: border-box;
}

.lango-host #screen-host-fast-results .host-fast-result-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.lango-host #screen-host-fast-results .host-fast-result-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 160, 220, 0.32), transparent 44%),
    linear-gradient(180deg, rgba(90, 20, 70, 0.22), rgba(55, 12, 55, 0.45));
  pointer-events: none;
}

.lango-host #screen-host-fast-results .host-fast-result-container {
  position: relative;
  z-index: 1;
  width: min(100%, 1100px);
  height: 100%;
  margin: 0 auto;
  padding: var(--host-chrome-top, 96px) 20px 120px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lango-host #screen-host-fast-results .host-fast-result-header {
  position: absolute;
  top: 22px;
  left: 36px;
  right: 22px;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto var(--host-utility-slot, 480px);
  align-items: center;
  gap: 16px;
  min-height: 64px;
  pointer-events: none;
}

.lango-host #screen-host-fast-results .host-fast-result-title {
  width: auto;
  max-width: 10ch;
  margin: 0;
  padding: 0;
  justify-self: start;
  pointer-events: auto;
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  text-align: left;
  color: #fff;
  -webkit-text-fill-color: #fff;
  -webkit-text-stroke: 0.075em rgba(177, 25, 128, 0.88);
  paint-order: stroke fill;
  text-shadow:
    0 4px 0 rgba(116, 60, 155, 0.4),
    0 10px 22px rgba(15, 23, 42, 0.28);
}

.lango-host #screen-host-fast-results .host-fast-result-pulse {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  grid-column: 2;
  pointer-events: auto;
}

.lango-host #screen-host-fast-results .host-fast-result-pulse-chip {
  min-height: 44px;
  padding: 6px 12px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 245, 252, 0.95);
  color: #5b1848;
  box-shadow: 0 3px 0 rgba(140, 40, 110, 0.14);
  font-variant-numeric: tabular-nums;
}

.lango-host #screen-host-fast-results .host-fast-result-pulse-chip strong {
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.lango-host #screen-host-fast-results .host-fast-result-pulse-chip span {
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  opacity: 0.72;
}

.lango-host #screen-host-fast-results .host-fast-result-stage {
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: none;
  transform-origin: initial;
}

.lango-host #screen-host-fast-results .host-fast-result-tommy {
  position: absolute;
  left: 8px;
  bottom: 42%;
  z-index: 4;
  width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  pointer-events: none;
}

.lango-host #screen-host-fast-results .host-fast-result-tommy-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 12px rgba(70, 15, 55, 0.28));
}

.lango-host #screen-host-fast-results .host-fast-result-tommy-caption {
  position: relative;
  z-index: 2;
  margin: 0 0 -2px;
  max-width: 11em;
  padding: 6px 10px;
  border: 2px solid #fff;
  border-radius: 16px;
  background: #fff5fb;
  color: #5b1848;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  filter: drop-shadow(0 3px 0 rgba(140, 40, 110, 0.16));
}

.lango-host #screen-host-fast-results .host-fast-result-tommy-caption::before,
.lango-host #screen-host-fast-results .host-fast-result-tommy-caption::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  transform: translateX(-50%);
}

.lango-host #screen-host-fast-results .host-fast-result-tommy-caption::before {
  bottom: -9px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid #fff;
}

.lango-host #screen-host-fast-results .host-fast-result-tommy-caption::after {
  bottom: -6px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid #fff5fb;
}

.lango-host #screen-host-fast-results .host-fast-result-board,
.lango-host #screen-host-fast-results .host-fast-result-board > div,
.lango-host #screen-host-fast-results .host-fast-result-arena {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.lango-host #screen-host-fast-results .host-fast-result-arena {
  display: grid;
  grid-template-rows: minmax(240px, 1.15fr) minmax(120px, 0.85fr);
  gap: 0;
}

.lango-host #screen-host-fast-results .host-fast-result-spotlight {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 8px 3% 0 16%;
  min-height: 0;
}

.lango-host #screen-host-fast-results .host-fast-result-podium {
  margin: 0;
  padding: 0;
  width: min(640px, 100%);
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  grid-template-areas: "second first third";
  align-items: end;
  gap: 12px;
}

.lango-host #screen-host-fast-results .host-fast-result-podium-row {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
}

.lango-host #screen-host-fast-results .host-fast-result-podium-row--1 { grid-area: first; }
.lango-host #screen-host-fast-results .host-fast-result-podium-row--2 { grid-area: second; }
.lango-host #screen-host-fast-results .host-fast-result-podium-row--3 { grid-area: third; }

.lango-host #screen-host-fast-results .host-fast-result-podium-person {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-bottom: 6px;
  text-align: center;
}

.lango-host #screen-host-fast-results .host-fast-result-crown {
  width: 34px;
  height: 26px;
  margin-bottom: -2px;
  background: linear-gradient(180deg, #ffe27a, #f0b420);
  clip-path: polygon(8% 100%, 0 35%, 22% 55%, 35% 10%, 50% 45%, 65% 10%, 78% 55%, 100% 35%, 92% 100%);
}

.lango-host #screen-host-fast-results .host-fast-result-avatar {
  width: 64px;
  height: 64px;
  flex: none;
  aspect-ratio: 1;
  border: 4px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f0a3d0, #b11980);
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  box-shadow: 0 4px 0 rgba(140, 35, 110, 0.26);
}

.lango-host #screen-host-fast-results .host-fast-result-podium-row--1 .host-fast-result-avatar {
  width: 76px;
  height: 76px;
  font-size: 26px;
  box-shadow: 0 0 0 3px rgba(252, 125, 186, 0.65), 0 4px 0 rgba(140, 35, 110, 0.26);
}

.lango-host #screen-host-fast-results .host-fast-result-avatar--sm {
  width: 32px;
  height: 32px;
  font-size: 12px;
  border-width: 2px;
}

.lango-host #screen-host-fast-results .host-fast-result-name {
  width: auto;
  max-width: 11ch;
  min-width: 0;
  overflow: hidden;
  background: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  color: #fff5fb;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(70, 15, 55, 0.5);
}

.lango-host #screen-host-fast-results .host-fast-result-score-pill {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 245, 252, 0.96);
  box-shadow: 0 2px 0 rgba(120, 30, 90, 0.14);
}

.lango-host #screen-host-fast-results .host-fast-result-score-pill .host-fast-result-score {
  color: #5b1848;
  font-size: 15px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  text-shadow: none;
  -webkit-text-stroke: 0;
}

.lango-host #screen-host-fast-results .host-fast-result-detail {
  color: rgba(255, 245, 252, 0.94);
  font-size: 12px;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(70, 15, 55, 0.4);
}

.lango-host #screen-host-fast-results .host-fast-result-plinth {
  width: 100%;
  border-radius: 14px 14px 10px 10px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 6px 0 rgba(140, 40, 110, 0.18);
}

.lango-host #screen-host-fast-results .host-fast-result-podium-row--1 .host-fast-result-plinth {
  min-height: 132px;
  background: linear-gradient(180deg, #ffe27a 0%, #ffc44d 40%, #f09a28 100%);
}

.lango-host #screen-host-fast-results .host-fast-result-podium-row--2 .host-fast-result-plinth {
  min-height: 100px;
  background: linear-gradient(180deg, #f7f4ee 0%, #e4d7c4 45%, #cbb89a 100%);
}

.lango-host #screen-host-fast-results .host-fast-result-podium-row--3 .host-fast-result-plinth {
  min-height: 78px;
  background: linear-gradient(180deg, #f6d0a0 0%, #e0a56a 45%, #c47d38 100%);
}

.lango-host #screen-host-fast-results .host-fast-result-plinth-num {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 3px 0 rgba(90, 20, 70, 0.22);
}

.lango-host #screen-host-fast-results .host-fast-result-sheet {
  position: relative;
  z-index: 2;
  min-height: 0;
  margin-top: -4px;
  padding: 16px 14px 8px;
  border: 4px solid rgba(162, 89, 255, 0.45);
  border-radius: 22px 22px 14px 14px;
  background: #fffafd;
  box-shadow:
    0 -6px 20px rgba(120, 30, 90, 0.14),
    2px 4px 28px rgba(255, 177, 237, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lango-host #screen-host-fast-results .host-fast-result-sheet-handle {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: rgba(177, 25, 128, 0.22);
  transform: translateX(-50%);
}

.lango-host #screen-host-fast-results .host-fast-result-rankings {
  margin: 0;
  padding: 6px 0 0;
  list-style: none;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  scrollbar-width: thin;
  scrollbar-color: #c866da transparent;
}

.lango-host #screen-host-fast-results .host-fast-result-ranking-row {
  min-height: 44px;
  margin: 0;
  padding: 6px 10px;
  display: grid;
  grid-template-columns: 28px 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  color: #5b1848;
  border-radius: 12px;
}

.lango-host #screen-host-fast-results .host-fast-result-ranking-row:nth-child(odd) {
  background: rgba(255, 200, 230, 0.35);
}

.lango-host #screen-host-fast-results .host-fast-result-ranking-rank {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(177, 25, 128, 0.14);
  color: rgba(120, 30, 90, 0.75);
  font-size: 12px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.lango-host #screen-host-fast-results .host-fast-result-ranking-name {
  overflow: hidden;
  color: #5b1848;
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
}

.lango-host #screen-host-fast-results .host-fast-result-ranking-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

.lango-host #screen-host-fast-results .host-fast-result-ranking-meta .host-fast-result-score {
  color: #b11980;
  font-size: 14px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  text-shadow: none;
  -webkit-text-stroke: 0;
}

.lango-host #screen-host-fast-results .host-fast-result-ranking-meta small {
  color: rgba(120, 30, 90, 0.65);
  font-size: 11px;
  font-weight: 800;
}

.lango-host #screen-host-fast-results .host-fast-result-empty {
  margin: 0;
  min-height: 80px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.lango-host #screen-host-fast-results .host-fast-result-empty--sheet {
  min-height: 48px;
  color: rgba(120, 30, 90, 0.65);
  font-size: 14px;
}

.lango-host #screen-host-fast-results .host-fast-result-footer {
  position: absolute;
  left: 36px;
  right: auto;
  bottom: 28px;
  z-index: 8;
  width: auto;
  height: auto;
  min-height: 84px;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(116, 60, 155, 0.08) inset,
    0 16px 32px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: none;
  transform-origin: initial;
  flex: 0 0 auto;
}

.lango-host #screen-host-fast-results .host-fast-result-button {
  min-width: 168px;
  min-height: 64px;
  height: auto;
  padding: 4px 16px 2px;
  border: 0;
  border-radius: 999px;
  display: grid;
  grid-template-columns: minmax(36px, 1fr) auto minmax(36px, 1fr);
  align-items: center;
  justify-content: stretch;
  justify-items: stretch;
  gap: 0 8px;
  background: linear-gradient(180deg, #f5e9ff 0%, #e9d5ff 100%);
  color: #4c1d95;
  font: inherit;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: none;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.7),
    0 6px 0 rgba(124, 58, 237, 0.22),
    0 10px 16px rgba(88, 28, 135, 0.16);
  cursor: pointer;
  filter: none;
}

.lango-host #screen-host-fast-results .host-fast-result-button--back {
  background: linear-gradient(180deg, #f5e9ff 0%, #e9d5ff 100%);
  color: #4c1d95;
  text-shadow: none;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.7),
    0 6px 0 rgba(124, 58, 237, 0.22),
    0 10px 16px rgba(88, 28, 135, 0.16);
  filter: none;
}

.lango-host #screen-host-fast-results .host-fast-result-button--next {
  margin-left: 0;
  color: #fff;
  background: linear-gradient(180deg, #feca57 0%, #ff9f43 100%);
  box-shadow:
    inset 0 -3px 3px rgba(0, 0, 0, 0.1),
    inset 0 0 0 4px rgba(255, 255, 255, 0.5),
    0 8px 0 rgba(217, 119, 6, 0.85),
    0 12px 20px rgba(255, 140, 42, 0.28);
}

.lango-host #screen-host-fast-results .host-fast-result-button > .host-btn-face {
  grid-column: 1;
  justify-self: start;
  align-self: center;
}

.lango-host #screen-host-fast-results .host-fast-result-button > .host-btn-label {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.lango-host #screen-host-fast-results .host-fast-result-button > img {
  grid-column: 3;
  justify-self: end;
  align-self: center;
}

.lango-host #screen-host-fast-results .host-fast-result-button--next[hidden] {
  display: none;
}

.lango-host #screen-host-fast-results .host-fast-result-next-icon {
  transform: rotate(180deg);
  filter: brightness(0) invert(1);
}

@media (max-width: 700px) {
  .lango-host #screen-host-fast-results .host-fast-result-tommy {
    display: none;
  }
  .lango-host #screen-host-fast-results .host-fast-result-spotlight {
    padding-left: 0;
  }
  .lango-host #screen-host-fast-results .host-fast-result-header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    grid-template-columns: 1fr;
    justify-items: start;
    min-height: 0;
    pointer-events: auto;
  }
}
