/* Clubhouse home and Focus Arena gameplay */
body::before,
body::after {
  display: none;
}

body {
  background: #05090b;
}

.clubhouse-home {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  width: min(1420px, calc(100% - 32px));
  padding-top: 16px;
}

.clubhouse-home > *:not(.home-nav) {
  grid-column: 2;
  min-width: 0;
}

.clubhouse-home > .home-nav {
  position: sticky;
  top: 16px;
  grid-column: 1;
  grid-row: 1 / span 20;
  display: flex;
  height: calc(100vh - 32px);
  min-height: 560px;
  padding: 22px 14px 16px;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 22px;
  border-radius: 8px;
  background: #080e10;
  backdrop-filter: none;
}

.clubhouse-home .home-nav .universe-switch {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.clubhouse-home .home-nav .game-product {
  min-height: 58px;
  height: auto;
  padding: 0 14px;
  justify-content: flex-start;
  border-radius: 6px;
  font-size: .82rem;
}

.clubhouse-home .home-nav .game-product img {
  width: 98px;
}

.clubhouse-home .home-nav nav {
  display: grid;
  width: 100%;
  gap: 2px;
}

.clubhouse-home .home-nav nav > button,
.clubhouse-home .home-nav nav > a {
  min-height: 42px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  border-radius: 5px;
  color: #9eabb0;
}

.clubhouse-home .home-nav nav > button:hover,
.clubhouse-home .home-nav nav > a:hover {
  background: #10191d;
}

.clubhouse-home .language-switch {
  width: fit-content;
  margin: 12px 0 0 9px;
}

.clubhouse-home .hero-panel {
  min-height: 350px;
  grid-template-columns: minmax(0, .82fr) minmax(380px, 1.18fr);
  border: 1px solid #2d4735;
  border-radius: 8px;
  background: #0b1710;
}

.clubhouse-home .hero-panel::after {
  display: none;
}

.clubhouse-home .hero-copy {
  padding: 36px;
}

.clubhouse-home .hero-copy h1 {
  margin: 9px 0 14px;
  font-size: clamp(2.5rem, 4.8vw, 4.25rem);
  line-height: .94;
  letter-spacing: 0;
  text-shadow: none;
}

.clubhouse-home .hero-lede {
  max-width: 420px;
  margin-bottom: 16px;
  color: #a7b5b1;
  font-size: .92rem;
  line-height: 1.55;
  text-shadow: none;
}

.clubhouse-home .hero-primary {
  min-width: 210px;
  min-height: 48px;
  margin-top: 4px;
  border-radius: 5px;
  background: var(--lime);
  box-shadow: none;
}

.clubhouse-home .hero-quick-actions {
  margin-top: 8px;
}

.clubhouse-home .hero-quick-actions button {
  min-height: 40px;
  background: #0a1214;
  backdrop-filter: none;
}

.clubhouse-home .hero-visual {
  min-height: 270px;
  margin: 28px;
  border: 0;
  border-left: 1px solid #294331;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.clubhouse-home .hero-visual::before {
  top: 18px;
  left: 24px;
  color: #7f9188;
}

.clubhouse-home .club-trio span {
  width: clamp(72px, 7vw, 96px);
  border-radius: 7px;
  background: #0d1818;
  box-shadow: none;
}

.clubhouse-home .matchday-strip {
  min-height: 54px;
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #080e10;
}

.clubhouse-home .home-section {
  padding: clamp(26px, 4vw, 42px);
  border-radius: 8px;
  background: #080e10;
  box-shadow: none;
  backdrop-filter: none;
}

.clubhouse-home .mode-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.clubhouse-home .mode-card {
  min-height: 210px;
  padding: 24px;
  background: #0d1518;
}

.clubhouse-home .mode-card:hover {
  transform: none;
}

.clubhouse-home .home-footer {
  min-height: 84px;
  border-radius: 8px;
  background: #080e10;
  backdrop-filter: none;
}

.focus-arena-app {
  display: grid;
  grid-template-columns: 1fr;
  width: min(1120px, calc(100% - 32px));
  min-height: auto;
  gap: 14px;
  padding: 18px 0 44px;
}

.focus-arena-app .game-surface,
.focus-arena-app .tool-panel {
  border-radius: 8px;
  background: #070d0f;
  box-shadow: none;
  backdrop-filter: none;
}

.focus-arena-app .focus-game-surface {
  display: grid;
  gap: 0;
  padding: 0 0 22px;
  overflow: hidden;
}

.focus-arena-app .topbar {
  min-height: 66px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
}

.focus-arena-app .topbar .universe-switch {
  border: 0;
  background: transparent;
}

.focus-arena-app .stat-strip {
  min-width: 300px;
  gap: 0;
}

.focus-arena-app .stat-strip span {
  min-height: 48px;
  padding: 6px 14px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.focus-arena-app .challenge-banner {
  margin: 14px 22px 0;
}

.focus-arena-app .control-row[data-modes],
.focus-arena-app .control-row[data-difficulties],
.focus-arena-app .control-row[data-packs] {
  padding: 9px 22px 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
}

.focus-arena-app .control-row[data-modes] button,
.focus-arena-app .control-row[data-difficulties] button,
.focus-arena-app .control-row[data-packs] button {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 0 12px;
  border-radius: 4px;
  background: #0b1316;
  font-size: .72rem;
}

.focus-arena-app .control-row[data-modes] button.is-active,
.focus-arena-app .control-row[data-difficulties] button.is-active,
.focus-arena-app .control-row[data-packs] button.is-active {
  border-color: var(--lime);
  background: var(--lime);
  color: #05090b;
}

.focus-arena-app .control-row[data-difficulties] button {
  min-height: 40px;
}

.focus-arena-app .focus-question-heading {
  padding: 28px 22px 20px;
  text-align: center;
}

.focus-arena-app .focus-question-heading p {
  margin: 0 0 6px;
  color: var(--lime);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.focus-arena-app .focus-question-heading h1 {
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 3.9rem);
  line-height: 1;
}

.focus-arena-app .club-grid,
.focus-arena-app .answer-zone,
.focus-arena-app .scoring-note,
.focus-arena-app .daily-hint-note,
.focus-arena-app .hint-panel,
.focus-arena-app .result-panel,
.focus-arena-app .bottom-actions {
  width: min(860px, calc(100% - 44px));
  margin-right: auto;
  margin-left: auto;
}

.focus-arena-app .club-grid {
  gap: 12px;
}

.focus-arena-app .club-card {
  min-height: 168px;
  padding: 20px;
  place-items: center;
  align-content: center;
  gap: 12px;
  border-radius: 7px;
  background: #0e171a;
  text-align: center;
}

.focus-arena-app .club-card:hover {
  transform: none;
}

.focus-arena-app .club-card h2 {
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.focus-arena-app .club-card p {
  font-size: .68rem;
}

.focus-arena-app .answer-zone {
  margin-top: 14px;
  gap: 8px;
}

.focus-arena-app .answer-zone input,
.focus-arena-app .answer-zone button {
  min-height: 50px;
  border-radius: 5px;
}

.focus-arena-app .scoring-note,
.focus-arena-app .daily-hint-note {
  margin-top: 10px;
  font-size: .72rem;
  text-align: center;
}

.focus-arena-app .hint-panel,
.focus-arena-app .result-panel {
  margin-top: 12px;
}

.focus-arena-app .bottom-actions {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.focus-arena-app .side-panel {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  gap: 14px;
}

.focus-arena-app .final-panel {
  grid-column: 1 / -1;
}

.focus-arena-app .multiplayer-panel {
  min-height: 220px;
}

.focus-arena-app .data-panel {
  align-content: center;
}

.focus-arena-app .movie-grid .club-card {
  min-height: 178px;
  justify-content: center;
  background: #151117;
}

.focus-arena-app .movie-grid .club-card::before {
  display: none;
}

@media (max-width: 980px) {
  .clubhouse-home {
    display: block;
    width: min(100% - 20px, 900px);
    padding-top: 10px;
  }

  .clubhouse-home > .home-nav {
    position: static;
    height: auto;
    min-height: 0;
    padding: 12px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .clubhouse-home .home-nav .universe-switch {
    grid-template-columns: repeat(3, minmax(78px, 1fr));
    width: 100%;
    padding: 0;
    border: 0;
  }

  .clubhouse-home .home-nav .game-product {
    min-height: 42px;
    justify-content: center;
  }

  .clubhouse-home .home-nav nav {
    display: none;
  }

  .clubhouse-home .hero-panel {
    margin-top: 10px;
  }
}

@media (max-width: 720px) {
  .clubhouse-home .hero-panel {
    grid-template-columns: 1fr;
  }

  .clubhouse-home .hero-copy {
    padding: 28px 22px 20px;
  }

  .clubhouse-home .hero-visual {
    min-height: 230px;
    margin: 0 18px 18px;
    border-top: 1px solid #294331;
    border-left: 0;
  }

  .clubhouse-home .mode-card-grid {
    grid-template-columns: 1fr;
  }

  .focus-arena-app {
    width: min(100% - 16px, 720px);
    padding-top: 8px;
  }

  .focus-arena-app .topbar {
    padding: 10px 12px;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .focus-arena-app .topbar .universe-switch,
  .focus-arena-app .stat-strip {
    width: 100%;
  }

  .focus-arena-app .stat-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .focus-arena-app .control-row[data-modes],
  .focus-arena-app .control-row[data-difficulties],
  .focus-arena-app .control-row[data-packs] {
    scrollbar-width: none;
  }

  .focus-arena-app .control-row[data-modes]::-webkit-scrollbar,
  .focus-arena-app .control-row[data-difficulties]::-webkit-scrollbar,
  .focus-arena-app .control-row[data-packs]::-webkit-scrollbar {
    display: none;
  }

  .focus-arena-app .compact-language {
    margin-left: auto;
  }

  .focus-arena-app .focus-question-heading {
    padding: 24px 12px 16px;
  }

  .focus-arena-app .club-grid,
  .focus-arena-app .answer-zone,
  .focus-arena-app .scoring-note,
  .focus-arena-app .daily-hint-note,
  .focus-arena-app .hint-panel,
  .focus-arena-app .result-panel,
  .focus-arena-app .bottom-actions {
    width: calc(100% - 24px);
  }

  .focus-arena-app .club-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .focus-arena-app .answer-zone {
    grid-template-columns: 1fr;
  }

  .focus-arena-app .club-card {
    min-height: 154px;
    padding: 12px 6px;
  }

  .focus-arena-app .club-card h2 {
    min-height: 0;
    margin: 8px 0 4px;
    font-size: .78rem;
  }

  .focus-arena-app .club-card p {
    font-size: .58rem;
  }

  .focus-arena-app .club-logo {
    width: 56px;
    height: 56px;
  }

  .focus-arena-app .side-panel {
    grid-template-columns: 1fr;
  }
}
