.lb {
  padding-top: 48px;
}

.lb-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.lb-head h1 {
  margin: 0;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.lb-head p {
  margin: 14px 0 0;
  max-width: 48ch;
  color: #cfcadb;
}

.lb-head strong {
  color: var(--volt);
}

.lb-status:empty {
  display: none;
}

.lb-status {
  color: #ff8a80 !important;
  font-size: 14px;
}

.lb-reset-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

.lb-clock {
  display: flex;
  gap: 8px;
}

.lb-clock span {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 68px;
  padding: 10px 8px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--plum);
  color: var(--muted);
  font-size: 12px;
}

.lb-clock b {
  font-stretch: 112%;
  font-weight: 800;
  font-size: 28px;
  line-height: 1.1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.lb-soon {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 28px;
  padding: 16px 18px;
  border-left: 3px solid var(--volt);
  background: var(--plum);
  color: #cfcadb;
}

.lb-soon strong {
  color: var(--text);
}

.lb-soon .btn {
  margin-left: auto;
}

.lb-is-empty .lb-soon {
  display: flex;
}

.lb-podium {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  align-items: end;
  gap: 14px;
  margin-top: 36px;
}

.lb-top {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "rank prize"
    "name name"
    "wager wager";
  gap: 6px 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--plum);
}

.lb-top-1 {
  order: 2;
  padding-top: 30px;
  padding-bottom: 30px;
  border-color: var(--volt);
}

.lb-top-2 {
  order: 1;
}

.lb-top-3 {
  order: 3;
}

.lb-top-rank {
  grid-area: rank;
  font-stretch: 125%;
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  color: var(--muted);
}

.lb-top-1 .lb-top-rank {
  color: var(--volt);
  font-size: 52px;
}

.lb-top-prize {
  grid-area: prize;
  justify-self: end;
  align-self: start;
  padding: 4px 10px;
  border-radius: var(--radius-s);
  background: var(--plum-2);
  font-weight: 700;
  font-size: 14px;
}

.lb-top-1 .lb-top-prize {
  background: var(--volt);
  color: #16101f;
}

.lb-top-name {
  grid-area: name;
  margin-top: 10px;
  font-weight: 700;
  font-size: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-top-wager {
  grid-area: wager;
  font-stretch: 112%;
  font-weight: 800;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.lb-top-wager small {
  margin-left: 6px;
  font-stretch: 100%;
  font-weight: 500;
  font-size: 13px;
  color: var(--muted);
}

.lb-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  margin-top: 56px;
  align-items: start;
}

.lb-grid h2 {
  margin: 0 0 16px;
  font-stretch: 112%;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.lb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.lb-table th {
  padding: 0 12px 10px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.lb-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
}

.lb-table td:first-child,
.lb-table th:first-child {
  width: 48px;
  font-weight: 700;
}

.lb-table td:nth-child(3),
.lb-table td:nth-child(4),
.lb-table th:nth-child(3),
.lb-table th:nth-child(4) {
  text-align: right;
}

.lb-table td:nth-child(4) {
  color: var(--volt);
  font-weight: 700;
}

.lb-table tbody tr:hover td {
  background: var(--plum);
}

.blank {
  display: inline-block;
  width: 120px;
  max-width: 100%;
  height: 10px;
  border-radius: 3px;
  background: var(--plum-2);
  vertical-align: middle;
}

.lb-pool {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--plum);
}

.lb-pool h2 {
  margin-bottom: 4px;
  font-size: 18px;
}

.lb-pool-total {
  margin: 0 0 14px;
  font-stretch: 125%;
  font-weight: 900;
  font-size: 40px;
  line-height: 1.1;
  color: var(--volt);
}

.lb-prizes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lb-prizes li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.lb-prizes span {
  color: var(--muted);
}

.lb-prizes strong {
  font-variant-numeric: tabular-nums;
}

.lb-rules {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .lb-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .lb {
    padding-top: 32px;
  }

  .lb-head h1 {
    font-stretch: 110%;
    font-size: clamp(30px, 9.4vw, 48px);
  }

  .lb-podium {
    grid-template-columns: 1fr;
  }

  .lb-top-1,
  .lb-top-2,
  .lb-top-3 {
    order: 0;
    padding: 16px 18px;
  }

  .lb-top-1 .lb-top-rank,
  .lb-top-rank {
    font-size: 34px;
  }

  .lb-clock span {
    min-width: 0;
    flex: 1;
  }

  .lb-reset {
    width: 100%;
  }

  .lb-soon .btn {
    margin-left: 0;
  }

  .lb-table td:nth-child(4),
  .lb-table th:nth-child(4) {
    display: none;
  }
}

.lb-coming {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 72px 0;
}

.lb-coming .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.lb-coming h1 {
  margin: 0;
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(40px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.lb-coming-tag {
  margin: 18px 0 0;
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 32px);
  color: var(--volt);
}

.lb-coming p:not(.lb-coming-tag) {
  margin: 14px 0 28px;
  max-width: 44ch;
  font-size: 18px;
  color: #cfcadb;
}

.lb-coming strong {
  color: var(--text);
}

.lb-page .footer {
  margin-top: 0;
}

@media (max-width: 700px) {
  .lb-coming h1 {
    font-stretch: 110%;
    font-size: clamp(30px, 9.4vw, 56px);
  }
}
