/* View-specific layout */

/* ---------- Setup ---------- */
.setup-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.setup-header__title {
  font-size: var(--text-page-title);
  font-weight: 700;
  color: var(--text);
  margin-top: 2px;
}

.setup-header__theme-toggle {
  display: flex;
  background: var(--sunken);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}

/* Rail (tablet+) already carries a theme toggle in its footer. */
@media (min-width: 760px) {
  .setup-header__theme-toggle {
    display: none;
  }
}

.setup-header__theme-btn {
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-label);
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--text2);
}

.setup-header__theme-btn--active {
  background: var(--raised);
  color: var(--text);
}

.setup-back-btn {
  width: 100%;
  margin-bottom: 24px;
  padding: 12px;
  border-radius: var(--radius-2);
  background: var(--surface);
  border: 1px solid var(--sunken);
  color: var(--text2);
  font-size: var(--text-body);
  font-weight: 600;
  cursor: pointer;
  box-sizing: border-box;
}

.setup-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 760px) {
  .setup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.setup-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.setup-section-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.setup-stats-row {
  display: flex;
  gap: 12px;
}

.setup-rounds-hint {
  font-size: var(--text-label);
  font-family: var(--font-family-mono);
  color: var(--text3);
}

.setup-generate-hint {
  text-align: center;
  font-size: var(--text-label);
  font-family: var(--font-family-mono);
  color: var(--text3);
  margin-top: 8px;
}

/* ---------- Rounds overview ---------- */
.screen-title {
  font-size: var(--text-title);
  font-weight: 700;
  margin-bottom: 2px;
}

.screen-meta {
  font-size: var(--text-label);
  font-family: var(--font-family-mono);
  color: var(--text3);
  margin-bottom: 20px;
}

/* ---------- Session end ---------- */
.end-hero {
  text-align: center;
  margin-bottom: 24px;
}

.end-hero__kicker {
  font-size: var(--text-kicker);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 6px;
}

.end-hero__title {
  font-size: var(--text-display);
  font-weight: 700;
}

.end-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
