/**
 * The three podium places' styling, keyed by rank.
 *
 * Class names are written out in full rather than composed, because Tailwind
 * only extracts literal strings — an interpolated `bg-[${colour}]` would never
 * reach the CSS.
 */
export const PODIUM_SLOTS = {
  1: {
    rank: "1",
    bar: "bg-[#29246D]",
    ring: "ring-[#29246D]",
    pillText: "text-[#29246D]",
    valueColor: "text-[#D9EF61]",
    labelColor: "text-[#D9EF61]/85",
    shadow: "shadow-[0_20px_45px_-22px_rgba(41,36,109,0.75)]",
    height: "h-[112px] xsl:h-[150px] md:h-[190px] lg:h-[220px] 2xl:h-[250px]",
    avatar: "w-14 h-14 xsl:w-16 xsl:h-16 md:w-20 md:h-20 lg:w-24 lg:h-24",
    /* The narrowest rendered size from `avatar`, for `next/image`'s intrinsic
       box. The avatar is square at every breakpoint, so this fixes the 1:1
       aspect ratio and the classes above still decide the painted size. */
    avatarPx: 56,
    initials: "bg-[#29246D] text-[#D9EF61]",
  },
  2: {
    rank: "2",
    bar: "bg-[#D9EF61]",
    ring: "ring-[#C4DC3F]",
    pillText: "text-[#4E5B08]",
    valueColor: "text-[#29246D]",
    labelColor: "text-[#29246D]/70",
    shadow: "shadow-[0_18px_40px_-24px_rgba(78,91,8,0.55)]",
    height: "h-[84px] xsl:h-[116px] md:h-[145px] lg:h-[170px] 2xl:h-[190px]",
    avatar: "w-12 h-12 xsl:w-14 xsl:h-14 md:w-16 md:h-16 lg:w-20 lg:h-20",
    avatarPx: 48,
    initials: "bg-[#D9EF61] text-[#4E5B08]",
  },
  3: {
    rank: "3",
    bar: "bg-[#70B4C2]",
    ring: "ring-[#5AA0AF]",
    pillText: "text-[#1F6675]",
    valueColor: "text-white",
    labelColor: "text-white/85",
    shadow: "shadow-[0_18px_40px_-24px_rgba(31,102,117,0.55)]",
    height: "h-[68px] xsl:h-[96px] md:h-[120px] lg:h-[140px] 2xl:h-[160px]",
    avatar: "w-12 h-12 xsl:w-14 xsl:h-14 md:w-16 md:h-16 lg:w-20 lg:h-20",
    avatarPx: 48,
    initials: "bg-[#70B4C2] text-white",
  },
} as const;
