/*-----------------------------------*\
  #CHAMPIONS PODIUM
  Built on the site design tokens from css/style.css
  (League Spartan / Poppins, --kappel, --gradient, shadows, radii).
  Note: style.css sets html { font-size: 10px }, so sizes here are in px.
\*-----------------------------------*/

.podium {
  --gold: hsl(42, 94%, 55%);      /* matches --selective-yellow */
  --silver: hsl(215, 12%, 68%);
  --bronze: hsl(24, 58%, 55%);

  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  align-items: end;
  gap: 14px;
  max-width: 780px;
  margin-inline: auto;
}

.podium-slot { --medal: var(--silver); min-width: 0; text-align: center; }
.podium-slot--1 { --medal: var(--gold); }
.podium-slot--3 { --medal: var(--bronze); }

.podium-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 6px 20px;
}

.podium-trophy {
  font-size: 40px;
  color: var(--gold);
  filter: drop-shadow(0 6px 12px hsla(42, 94%, 55%, 0.35));
}

.podium-avatar {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-circle);
  border: 4px solid var(--medal);
  outline: 4px solid var(--white);
  box-shadow: var(--shadow-3);
  background-image: var(--gradient);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.podium-slot--1 .podium-avatar {
  width: 124px;
  height: 124px;
  box-shadow: 0 0 0 10px hsla(42, 94%, 55%, 0.15), var(--shadow-3);
}
.podium-avatar img { width: 100%; height: 100%; object-fit: cover; }
.podium-initials {
  color: var(--white);
  font-family: var(--ff-league_spartan);
  font-weight: var(--fw-600);
  font-size: 32px;
  line-height: 1;
  padding-top: 4px; /* League Spartan sits high */
}
.podium-slot--1 .podium-initials { font-size: 40px; }

.podium-avatar--empty {
  background: var(--isabelline);
  border-style: dashed;
  border-color: var(--light-gray);
  box-shadow: none;
}
.podium-avatar--empty ion-icon { font-size: 40px; color: var(--light-gray); }

.podium-name {
  color: var(--eerie-black-1);
  font-family: var(--ff-league_spartan);
  font-weight: var(--fw-600);
  font-size: 20px;
  line-height: 1.2;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.podium-slot--1 .podium-name { font-size: 24px; }
.podium-name--empty { color: var(--quick-silver); font-weight: var(--fw-500); font-size: 16px !important; }

.podium-badge {
  background-color: var(--kappel_15);
  color: var(--kappel);
  font-family: var(--ff-league_spartan);
  font-size: 14px;
  line-height: 1.4;
  padding: 4px 12px 2px;
  border-radius: var(--radius-3);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.podium-slot--1 .podium-badge { background-color: hsla(42, 94%, 55%, 0.18); color: hsl(36, 80%, 34%); }

/* the platform blocks */
.podium-step {
  display: grid;
  place-items: center;
  border-radius: var(--radius-10) var(--radius-10) 0 0;
  border-top: 4px solid var(--medal);
  background: linear-gradient(180deg, hsla(207, 51%, 44%, 0.10), hsla(207, 51%, 44%, 0.03));
  color: var(--medal);
  font-family: var(--ff-league_spartan);
  font-weight: var(--fw-600);
  font-size: 52px;
  line-height: 1;
  padding-top: 8px;
}
.podium-slot--1 .podium-step { height: 150px; background: var(--gradient); color: var(--white); }
.podium-slot--2 .podium-step { height: 110px; }
.podium-slot--3 .podium-step { height: 80px; }

/* compact variant (workspace live preview) */
.podium--compact { gap: 8px; }
.podium--compact .podium-person { gap: 6px; padding-bottom: 12px; }
.podium--compact .podium-trophy { font-size: 26px; }
.podium--compact .podium-avatar { width: 58px; height: 58px; border-width: 3px; outline-width: 3px; }
.podium--compact .podium-slot--1 .podium-avatar { width: 74px; height: 74px; box-shadow: 0 0 0 6px hsla(42, 94%, 55%, 0.15), var(--shadow-3); }
.podium--compact .podium-initials { font-size: 20px; }
.podium--compact .podium-slot--1 .podium-initials { font-size: 24px; }
.podium--compact .podium-avatar--empty ion-icon { font-size: 24px; }
.podium--compact .podium-name,
.podium--compact .podium-slot--1 .podium-name { font-size: 15px; }
.podium--compact .podium-name--empty { font-size: 13px !important; }
.podium--compact .podium-badge { font-size: 11px; padding: 3px 8px 1px; }
.podium--compact .podium-step { font-size: 30px; }
.podium--compact .podium-slot--1 .podium-step { height: 84px; }
.podium--compact .podium-slot--2 .podium-step { height: 62px; }
.podium--compact .podium-slot--3 .podium-step { height: 46px; }

@media (max-width: 575px) {
  .podium { gap: 6px; }
  .podium-trophy { font-size: 28px; }
  .podium-avatar { width: 64px; height: 64px; border-width: 3px; outline-width: 3px; }
  .podium-slot--1 .podium-avatar { width: 82px; height: 82px; }
  .podium-initials { font-size: 22px; }
  .podium-slot--1 .podium-initials { font-size: 26px; }
  .podium-name, .podium-slot--1 .podium-name { font-size: 15px; }
  .podium-badge { font-size: 11px; padding: 3px 7px 1px; }
  .podium-step { font-size: 34px; }
  .podium-slot--1 .podium-step { height: 104px; }
  .podium-slot--2 .podium-step { height: 76px; }
  .podium-slot--3 .podium-step { height: 56px; }
}


/*-----------------------------------*\
  #CHAMPIONS PAGE
\*-----------------------------------*/

.champions-hero {
  background-color: var(--isabelline);
  padding-block: 120px 30px;
  text-align: center;
}
.champions-hero .section-subtitle { color: var(--kappel); }
.champions-hero .section-title { margin-block-end: 10px; }
.champions-hero .section-text { max-width: 640px; margin-inline: auto; margin-block-end: 0; }

.champions-toolbar {
  display: flex;
  justify-content: flex-end;
  padding-top: 16px;
}
.champions-month {
  display: inline-flex;
  flex-direction: row; /* global style.css makes every form a column */
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.champions-month label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--gray-web);
  font-size: 14px;
  font-weight: var(--fw-500);
  white-space: nowrap;
}
.champions-month label ion-icon { color: var(--kappel); font-size: 18px; }
.champions-month select {
  appearance: auto;
  width: auto;
  border: 1px solid hsl(0, 0%, 85%);
  border-radius: var(--radius-5);
  background-color: var(--white);
  color: var(--eerie-black-1);
  font-size: 14px;
  line-height: 1.2;
  height: auto;
  min-width: 0;
  max-width: 180px;
  padding: 6px 10px;
  margin: 0;
  cursor: pointer;
}
.champions-month select:focus-visible { outline: none; border-color: var(--kappel); box-shadow: 0 0 0 3px var(--kappel_15); }
.champions-month-go {
  background-color: var(--kappel);
  color: var(--white);
  border-radius: var(--radius-5);
  padding: 7px 14px;
  font-size: 14px;
}
.champions-empty-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--kappel);
  font-weight: var(--fw-500);
}
.champions-empty-link:is(:hover, :focus) { text-decoration: underline; }
.champions-empty .champions-empty-link ion-icon { font-size: 16px; margin: 0; color: inherit; }

.champions-list {
  display: grid;
  gap: 24px;
  padding-block: 12px 50px;
}

.champions-card {
  background-color: var(--white);
  border-radius: var(--radius-10);
  box-shadow: var(--shadow-3);
  padding: 22px 30px 0;
  overflow: hidden;
  max-width: 900px;
  width: 100%;
  margin-inline: auto;
}
.champions-card-head { text-align: center; margin-block-end: 16px; }
.champions-card-head .h3 { font-weight: var(--fw-600); }
.champions-card-head p { font-size: var(--fs-6); margin-top: 2px; }

.champions-empty {
  text-align: center;
  background-color: var(--white);
  border-radius: var(--radius-10);
  box-shadow: var(--shadow-2);
  padding: 60px 20px;
  max-width: 640px;
  margin-inline: auto;
}
.champions-empty ion-icon { font-size: 48px; color: var(--kappel); margin: 0 auto 10px; }
.champions-empty .h3 { margin-bottom: 8px; }

@media (max-width: 575px) {
  .champions-hero { padding-block: 110px 24px; }
  .champions-card { padding: 18px 12px 0; }
}
