.hub-podium-showcase {
  margin-bottom: 22px;
}

.race-podium-showcase,
.podium-empty-state {
  background:
    linear-gradient(90deg, rgba(79, 214, 255, .035) 1px, transparent 1px) 0 0 / 72px 100%,
    repeating-linear-gradient(118deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 18px),
    linear-gradient(145deg, #061628, #020812 66%, #07111c);
  border: 1px solid rgba(79, 214, 255, .42);
  border-top: 4px solid #d8a229;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .48), inset 0 1px rgba(255, 255, 255, .08);
  overflow: hidden;
  position: relative;
}

.race-podium-showcase::before {
  background: linear-gradient(90deg, #4fd6ff, #0d728c 32%, #d8a229 64%, #fff1a6 78%, #6e4308);
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 4;
}

.podium-showcase-header {
  align-items: end;
  border-bottom: 1px solid rgba(79, 214, 255, .28);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 36px);
  position: relative;
}

.podium-showcase-header::after {
  color: rgba(255, 255, 255, .028);
  content: "TOP 3";
  font: 950 clamp(5rem, 13vw, 12rem) / .72 var(--display-font);
  pointer-events: none;
  position: absolute;
  right: 23%;
  top: 12%;
}

.podium-showcase-header > div {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.podium-kicker {
  color: #f2cc69;
  display: block;
  font: 950 .72rem / 1 var(--display-font);
  text-transform: uppercase;
}

.podium-showcase-header h3 {
  color: #f8fcff;
  font: 950 clamp(2rem, 4vw, 4.7rem) / .88 var(--display-font);
  margin: 8px 0 10px;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.podium-showcase-header p {
  align-items: center;
  color: #9fb8c6;
  display: flex;
  font-size: .8rem;
  font-weight: 850;
  gap: 10px;
  margin: 0;
  text-transform: uppercase;
}

.podium-showcase-header p i {
  background: #d8a229;
  height: 2px;
  width: 28px;
}

.podium-event-control {
  display: grid;
  gap: 6px;
  min-width: min(330px, 34vw);
}

.podium-event-control label,
.podium-event-control small {
  color: #91a9b8;
  font-size: .65rem;
  font-weight: 950;
  text-transform: uppercase;
}

.podium-event-control select {
  background: #061729;
  border: 1px solid rgba(79, 214, 255, .55);
  color: #f7fbff;
  margin: 0;
  min-height: 46px;
  width: 100%;
}

.podium-event-control small {
  color: #f2cc69;
  text-align: right;
}

.podium-poster-grid {
  align-items: end;
  display: grid;
  gap: clamp(10px, 1.5vw, 20px);
  grid-template-areas: "second winner third";
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr) minmax(0, 1fr);
  padding: clamp(16px, 2.5vw, 34px);
}

.podium-poster-card {
  background: #020711;
  border: 1px solid rgba(79, 214, 255, .3);
  box-shadow: 0 20px 42px rgba(0, 0, 0, .48);
  display: grid;
  min-width: 0;
  position: relative;
}

.podium-position-1 {
  border-color: rgba(242, 204, 105, .8);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .58), 0 0 34px rgba(216, 162, 41, .16);
  grid-area: winner;
}

.podium-position-2 { grid-area: second; }
.podium-position-3 { grid-area: third; }

.podium-position-plate {
  align-items: baseline;
  background:
    radial-gradient(circle at 22% 28%, rgba(255, 255, 255, .8) 0 1px, transparent 1.8px) 0 0 / 31px 29px,
    linear-gradient(118deg, #553204, #f0c85f 26%, #fff0a2 42%, #a56b0c 64%, #f0c85f 82%, #472800);
  color: #06111d;
  display: flex;
  gap: 2px;
  left: -1px;
  padding: 7px 12px 6px;
  position: absolute;
  top: -1px;
  z-index: 3;
}

.podium-position-plate span {
  font: 950 .68rem / 1 var(--display-font);
}

.podium-position-plate strong {
  font: 950 1.5rem / .8 var(--display-font);
}

.podium-poster-frame {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(90deg, rgba(79, 214, 255, .04) 1px, transparent 1px) 0 0 / 42px 100%,
    #01050b;
  display: grid;
  overflow: hidden;
  place-items: center;
  position: relative;
}

.podium-position-1 .podium-poster-frame {
  aspect-ratio: 4 / 5.15;
}

.podium-poster-frame img {
  display: block;
  height: 100%;
  object-fit: contain;
  object-position: center;
  width: 100%;
}

.podium-poster-placeholder {
  align-content: center;
  background:
    repeating-linear-gradient(130deg, rgba(79, 214, 255, .045) 0 2px, transparent 2px 16px),
    linear-gradient(160deg, #07192b, #020812 68%);
  display: grid;
  height: 100%;
  justify-items: center;
  padding: 24px;
  width: 100%;
}

.podium-poster-placeholder span {
  color: #f7fbff;
  font: 950 clamp(3.7rem, 8vw, 8.5rem) / .8 var(--display-font);
  text-shadow: 0 0 28px rgba(79, 214, 255, .45);
}

.podium-poster-placeholder b {
  color: #e6ba4b;
  font: 950 clamp(1.6rem, 3vw, 3rem) / 1 var(--display-font);
  margin-top: 14px;
}

.podium-poster-placeholder small {
  border-top: 1px solid rgba(79, 214, 255, .35);
  color: #8199a8;
  font-size: .62rem;
  font-weight: 950;
  margin-top: 22px;
  padding-top: 12px;
  text-transform: uppercase;
}

.podium-driver-plate {
  background: linear-gradient(120deg, #071a2b, #030912 70%);
  border-top: 3px solid #4fd6ff;
  display: grid;
  gap: 3px;
  min-height: 90px;
  padding: 14px 16px;
  position: relative;
}

.podium-position-1 .podium-driver-plate {
  border-top-color: #d8a229;
  min-height: 104px;
  padding: 17px 18px;
}

.podium-driver-plate span,
.podium-driver-plate small {
  color: #91a8b7;
  font-size: .62rem;
  font-weight: 950;
  text-transform: uppercase;
}

.podium-driver-plate span { color: #f2cc69; }

.podium-driver-plate strong {
  color: #fff;
  font: 950 clamp(1rem, 1.7vw, 1.65rem) / 1 var(--display-font);
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.podium-poster-actions {
  background: #050d18;
  border-top: 1px solid rgba(79, 214, 255, .25);
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto;
  padding: 10px;
}

.podium-upload-button {
  margin: 0;
  min-width: 0;
}

.podium-upload-button input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.podium-upload-button span,
.podium-poster-actions button {
  align-items: center;
  background: #0c3446;
  border: 1px solid #4fd6ff;
  color: #eefdff;
  cursor: pointer;
  display: flex;
  font: 950 .67rem / 1 var(--display-font);
  justify-content: center;
  min-height: 38px;
  padding: 9px 11px;
  text-align: center;
  text-transform: uppercase;
}

.podium-upload-button input:focus-visible + span {
  outline: 2px solid #fff1a6;
  outline-offset: 2px;
}

.podium-poster-actions button.ghost {
  background: transparent;
  border-color: rgba(216, 162, 41, .6);
  color: #f2cc69;
  margin: 0;
}

.podium-admin-status {
  background: rgba(79, 214, 255, .06);
  border-top: 1px solid rgba(79, 214, 255, .24);
  color: #9cb4c2;
  font-size: .72rem;
  font-weight: 800;
  margin: 0;
  padding: 11px clamp(16px, 2.5vw, 34px) 14px;
}

.podium-empty-state {
  min-height: 260px;
  padding: clamp(28px, 5vw, 64px);
}

.podium-empty-state span {
  color: #f2cc69;
  font: 950 .72rem / 1 var(--display-font);
  text-transform: uppercase;
}

.podium-empty-state h3 {
  color: #fff;
  font: 950 clamp(2.4rem, 6vw, 6rem) / .86 var(--display-font);
  margin: 10px 0 14px;
  text-transform: uppercase;
}

.podium-empty-state p {
  color: #91a8b7;
  margin: 0;
}

@media (max-width: 920px) {
  .podium-showcase-header {
    align-items: stretch;
    display: grid;
  }

  .podium-event-control {
    min-width: 0;
    width: 100%;
  }

  .podium-event-control small { text-align: left; }
}

@media (max-width: 680px) {
  .hub-podium-showcase {
    margin-left: -6px;
    margin-right: -6px;
  }

  .podium-showcase-header {
    gap: 18px;
    padding: 20px 16px;
  }

  .podium-showcase-header h3 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .podium-poster-grid {
    align-items: stretch;
    display: grid;
    gap: 12px;
    grid-auto-columns: min(82vw, 340px);
    grid-auto-flow: column;
    grid-template-areas: none;
    grid-template-columns: none;
    overflow-x: auto;
    padding: 16px;
    scroll-padding: 16px;
    scroll-snap-type: x mandatory;
  }

  .podium-position-1,
  .podium-position-2,
  .podium-position-3 {
    grid-area: auto;
    scroll-snap-align: center;
  }

  .podium-position-1 { order: 1; }
  .podium-position-2 { order: 2; }
  .podium-position-3 { order: 3; }

  .podium-poster-frame,
  .podium-position-1 .podium-poster-frame {
    aspect-ratio: 4 / 5;
  }

  .podium-driver-plate,
  .podium-position-1 .podium-driver-plate {
    min-height: 92px;
    padding: 14px 15px;
  }

  .podium-driver-plate strong { font-size: 1.35rem; }

  .podium-poster-actions {
    grid-template-columns: 1fr;
  }
}
