/* NX7 (e): /vyhercovia - the page of the community's wins. The rows reuse the home page's winner list (vyhraj-homepage.css); this file only
   gives them a page to live on and keeps them from overflowing a 360 px screen.
   NX8 (k): the page now looks like the rest of the site - the dark background and light text are the home page's own rule (body.vyhraj-vyhercovia
   is grouped with body.vyhraj-home in vyhraj-homepage.css), the panel and the buttons are the home panel's and the home buttons', no palette of its own. */

/* the fixed header is 67 px tall at 631 px+ (the body is padded 4.2rem) but wraps to 107 px just above 630 px, so the heading needs the room the home
   hero gives its own (3.5rem): 67 + 56 = 123 px clears the 107 px header, and below 631 px the 7rem body padding + 56 px clears the taller one */
.vyh-winners-page {
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
  max-width: 880px;
}

.vyh-winners-hero h1 {
  font-size: 1.9rem;
  font-weight: 800;
  margin: 0 0 0.6rem;
  line-height: 1.15;
  color: #e8ecf2;
}

.vyh-winners-lead {
  margin: 0 0 1.4rem;
  line-height: 1.55;
  color: #b8c2d1;
}

.vyh-winners-empty {
  padding: 2rem 1rem;
  text-align: center;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  color: #a8b3c4;
}

/* the panel is the home page's (.vyh-home-winner-panel): on a page of its own it must not stretch to the height of a grid cell */
.vyh-winners-panel {
  margin-bottom: 1.5rem;
  height: auto;
  min-height: 0;
}

.vyh-winners-row {
  min-width: 0;
}

.vyh-winners-row .vyh-home-winner-user,
.vyh-winners-row .vyh-home-winner-meta,
.vyh-winners-row .vyh-home-winner-prize {
  min-width: 0;
  overflow-wrap: anywhere;
}

.vyh-winners-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e8ecf2 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}

.vyh-winners-date,
.vyh-winners-tag {
  font-size: 0.72rem;
  color: #8d9cb3;
}

.vyh-winners-tag--portal {
  color: #ffc34d;
  font-weight: 600;
}

.vyh-winners-prize {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}

.vyh-winners-event {
  font-size: 0.72rem;
  font-weight: 500;
  color: #a8b3c4 !important;
}

a.vyh-winners-event:hover {
  color: #ffc34d !important;
}

.vyh-winners-more {
  padding: 0.8rem 1.1rem 1.1rem;
  text-align: center;
}

.vyh-winners-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

@media (max-width: 575px) {
  .vyh-winners-hero h1 {
    font-size: 1.5rem;
  }

  .vyh-winners-prize {
    align-items: flex-start;
  }
}
