.page-bughouse-home .bughouse-home-main {
  max-width: min(1400px, 100%);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-bughouse-home .home-countdown {
  width: 100%;
}

.page-bughouse-home .home-countdown[hidden] {
  display: none;
}

.page-bughouse-home .home-countdown__pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding: 12px 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--label-blue);
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.page-bughouse-home .home-countdown__label,
.page-bughouse-home .home-countdown__time {
  font-family: var(--font-family);
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-bughouse-home .home-countdown__time {
  font-variant-numeric: tabular-nums;
}

.page-bughouse-scene.page-bughouse-home .bughouse-main {
  max-width: min(1400px, 100%);
}

.page-bughouse-home .bughouse-home-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  width: 100%;
  align-items: start;
}

.page-bughouse-home .bughouse-home-bottom {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  width: 100%;
  align-items: start;
}

.page-bughouse-home .panel__heading--sub {
  margin-bottom: 16px;
}

.page-bughouse-home .panel__list {
  margin-bottom: 0;
}

.page-bughouse-home .panel__more {
  display: inline-block;
  margin-top: 14px;
  font-size: 18px;
  line-height: 22px;
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
}

.page-bughouse-home .panel__more:hover {
  text-decoration: underline;
}

.page-bughouse-home .panel--home-results,
.page-bughouse-home .panel--home-standings,
.page-bughouse-home .panel--home-live,
.page-bughouse-home .panel--home-stream {
  width: 100%;
  max-width: none;
}

.page-bughouse-home .home-match-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.page-bughouse-scene .home-match-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #000;
  font-size: 18px;
  line-height: 22px;
  text-decoration: none;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}

@media (min-width: 480px) {
  .page-bughouse-scene .home-match-btn {
    min-height: 56px;
    font-size: var(--player-size);
    line-height: var(--player-line-height);
  }
}

.page-bughouse-scene .home-match-btn:hover {
  background: #fff;
  transform: translateY(-1px);
}

.page-bughouse-home .panel--home-stream .panel__heading--sub {
  margin-bottom: 0;
}

.page-bughouse-home .home-stream-frame {
  width: 100%;
  margin-top: 24px;
  aspect-ratio: 16 / 9;
  min-height: 200px;
}

.page-bughouse-home .home-stream-empty {
  margin: 24px 0 0;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
}

.viewer-nav-group--no-label .viewer-nav-group-links {
  padding-top: 0;
}

@media (max-width: 900px) {
  .page-bughouse-home .bughouse-home-top,
  .page-bughouse-home .bughouse-home-bottom {
    grid-template-columns: 1fr;
  }
}
