.container {
  max-width: 400px;
  margin: 0 auto;
}

.p-1 {
  padding: 1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

h2 {
  font-size: 1rem;
  font-weight: bold;
  color: darkslategray;
}

h2::after {
  display: none;
}

.box {
  background-color: white;
  border-radius: 1rem;
  border: 1px solid lightgray;
  box-shadow: lightgray 2px 2px;
}

.counter {
  padding: 0.5rem 0.25rem;
}

.counter-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.counter-value {
  font-size: 1.75rem;
  font-weight: bold;
  color: gray;
}

.counter-name {
  color: orange;
  font-size: 0.80rem;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
}

.counter-img {
  width: 28px;
  height: 28px;
  margin-right: 5px;
}

canvas {
  padding: 1.5rem;
}

.podium-container {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.5rem;
}

.podium-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.podium-flag {
  font-size: 2rem;
  line-height: 1;
}

.podium-block {
  background-color: #e5e7eb;
  border-radius: 8px 8px 0 0;
  width: 2.5rem;
}

.podium-index-0 .podium-block {
  height: 2rem;
}

.podium-index-1 .podium-block {
  height: 3rem;
}

.podium-index-2 .podium-block {
  height: 1rem;
}

.recent-meals {
  align-items: flex-start;
}

.recent-meal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.recent-meal-image {
  height: 84px;
  width: 84px;
  border-radius: 100%;
}

.recent-meal-name {
  font-size: 0.85rem;
  font-weight: bold;
  text-align: center;
  display: block;
  line-height: 1.8em;
  max-height: 5.4em; /* 3 lines */
  overflow: hidden;
  text-overflow: ellipsis;
}
