/* End-of-match podium (js/podium.js). Gold, black and white. */
#podium.pod { position: fixed; inset: 0; z-index: 60; display: none; grid-template-rows: auto 1fr auto auto; padding: calc(44px + var(--safe-t)) 6vw calc(30px + var(--safe-b)); background: radial-gradient(70vw 60vh at 50% 40%, rgba(233, 217, 166, .06), transparent 70%), linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .5)); backdrop-filter: none; color: #f7f1df; font-family: 'Cormorant Garamond', Georgia, serif; cursor: pointer; user-select: none; }
#podium.pod.on { display: grid; animation: podIn .45s ease both; }
#podium.pod.leaving { display: grid; animation: podOut .3s ease both; pointer-events: none; }
#podium .pod-head { text-align: center; }
#podium .pod-head em { display: block; font: 600 12px/1 'JetBrains Mono', Consolas, monospace; letter-spacing: .4em; color: #c9a25a; font-style: normal; }
#podium .pod-head b { display: block; margin-top: 10px; font: 500 clamp(40px, 7vw, 84px)/1 'Cormorant Garamond', Georgia, serif; letter-spacing: .06em; color: #f7f1df; text-shadow: 0 0 40px rgba(233, 217, 166, .35); }
#podium .pod-stage { display: flex; align-items: flex-end; justify-content: center; gap: clamp(14px, 3vw, 46px); min-height: 0; margin-top: 18px; }
#podium .pod-slot { position: relative; display: flex; flex-direction: column; align-items: center; width: clamp(150px, 19vw, 240px); opacity: 0; transform: translateY(40px); }
#podium.on .pod-slot { animation: podRise .7s cubic-bezier(.2, .8, .2, 1) forwards; }
#podium.on .pod-slot.p3 { animation-delay: .25s; } #podium.on .pod-slot.p2 { animation-delay: .5s; } #podium.on .pod-slot.p1 { animation-delay: .75s; }
#podium .pod-slot.none { visibility: hidden; }
#podium .pod-card { text-align: center; margin-bottom: 14px; padding: 0 6px; }
#podium .pod-rank { display: inline-block; font: 600 11px/1 'JetBrains Mono', Consolas, monospace; letter-spacing: .25em; color: #0a0a0a; background: var(--tc, #e9d9a6); padding: 5px 9px; border-radius: 3px; }
#podium .pod-nm { display: block; margin-top: 10px; font: 500 clamp(18px, 2.4vw, 26px)/1.1 'Cormorant Garamond', Georgia, serif; color: #fbf6e6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
#podium .pod-slot.you .pod-nm { color: #e9d9a6; text-shadow: 0 0 18px rgba(233, 217, 166, .55); }
#podium .pod-stats { display: flex; justify-content: center; gap: 12px; margin-top: 8px; font: 500 13px/1 'JetBrains Mono', Consolas, monospace; color: #cfc6a9; }
#podium .pod-stats span i { font-style: normal; color: #c9a25a; margin-right: 4px; }
#podium .pod-plat { position: relative; width: 100%; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, rgba(233, 217, 166, .12), rgba(10, 10, 10, .35) 75%); backdrop-filter: blur(2px); border: 1px solid rgba(233, 217, 166, .35); border-bottom: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 -18px 50px -20px rgba(233, 217, 166, .35); }
#podium .pod-plat:after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--tc, #e9d9a6); box-shadow: 0 0 18px var(--tc, #e9d9a6); }
#podium .p1 .pod-plat { height: clamp(190px, 30vh, 300px); }
#podium .p2 .pod-plat { height: clamp(140px, 22vh, 220px); }
#podium .p3 .pod-plat { height: clamp(104px, 16vh, 170px); }
#podium .pod-plat em { position: absolute; left: 0; right: 0; top: 12px; text-align: center; font: 500 clamp(40px, 6vw, 72px)/1 'Cormorant Garamond', Georgia, serif; font-style: normal; color: rgba(247, 241, 223, .9); }
#podium .p1 .pod-plat { background: linear-gradient(180deg, rgba(255, 226, 150, .16), rgba(10, 10, 10, .4) 75%); }
#podium .pod-crown { position: absolute; top: -6px; left: 50%; translate: -50% -100%; width: 64px; height: 44px; margin-top: -80px; filter: drop-shadow(0 0 16px rgba(233, 217, 166, .8)); }
#podium .pod-crown svg { width: 100%; height: 100%; fill: #e9d9a6; stroke: #fff6d6; stroke-width: .6; }
#podium .pod-mvp { text-align: center; margin: 10px 0 6px; min-height: 60px; }
#podium .pod-mvp-in { display: inline-grid; justify-items: center; gap: 4px; padding: 12px 26px; border: 1px solid rgba(233, 217, 166, .5); border-radius: 4px; background: rgba(0, 0, 0, .65); box-shadow: 0 0 40px -10px rgba(233, 217, 166, .5); opacity: 0; animation: podRise .6s 1.2s forwards; }
#podium .pod-mvp-in span { font: 600 11px/1 'JetBrains Mono', Consolas, monospace; letter-spacing: .4em; color: #0a0a0a; background: #e9d9a6; padding: 5px 10px; }
#podium .pod-mvp-in b { font: 500 clamp(22px, 3vw, 34px)/1 'Cormorant Garamond', Georgia, serif; color: #fbf6e6; }
#podium .pod-mvp-in i { font: 500 12px/1 'JetBrains Mono', Consolas, monospace; font-style: normal; color: #cfc6a9; letter-spacing: .1em; }
#podium .pod-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; font: 500 12px/1 'JetBrains Mono', Consolas, monospace; letter-spacing: .25em; color: #bdb49a; }
#podium .pod-hint kbd { font: inherit; color: #0a0a0a; background: #e9d9a6; padding: 4px 7px; margin-right: 8px; border-radius: 3px; }
#podium .pod-skip { cursor: pointer; font: 600 12px/1 'JetBrains Mono', Consolas, monospace; letter-spacing: .3em; color: #e9d9a6; background: rgba(0, 0, 0, .6); border: 1px solid rgba(233, 217, 166, .6); padding: 12px 18px; border-radius: 3px; }
#podium .pod-skip:hover { background: rgba(233, 217, 166, .15); color: #fff6d6; }
#podium .pod-skip i { font-style: normal; margin-left: 6px; }
@keyframes podIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes podOut { from { opacity: 1 } to { opacity: 0 } }
@keyframes podRise { from { opacity: 0; transform: translateY(40px) } to { opacity: 1; transform: translateY(0) } }
@media (max-width: 760px) { #podium .pod-stage { gap: 10px; } #podium .pod-slot { width: 30vw; } #podium .pod-nm { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { #podium.pod, #podium.pod.on, #podium .pod-slot, #podium .pod-mvp-in { animation-duration: .01s !important; animation-delay: 0s !important; opacity: 1 !important; transform: none !important; } #podium.pod.leaving { display: none !important; } }

/* ---- arcade layer: scanlines, light sweep, flashing title, WINNER banner, neon ---- */
#podium .pod-scan { position: absolute; inset: 0; pointer-events: none; z-index: 2; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .38) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; opacity: .45; animation: podFlick 2.6s steps(2, end) infinite; }
#podium .pod-sweep { position: absolute; top: -20%; bottom: -20%; left: -40%; width: 30%; pointer-events: none; z-index: 1; background: linear-gradient(100deg, transparent 0%, rgba(255, 226, 150, .0) 30%, rgba(255, 246, 214, .16) 50%, rgba(255, 226, 150, 0) 70%, transparent 100%); mix-blend-mode: screen; animation: podSweep 4.2s linear infinite; }
#podium .pod-head { position: relative; z-index: 3; }
#podium .pod-head b { animation: podNeonHead 2.4s ease-in-out infinite; }
#podium .pod-champ { display: block; margin-top: 14px; font: 700 13px/1 'JetBrains Mono', Consolas, monospace; letter-spacing: .35em; color: #0a0a0a; background: #e9d9a6; display: inline-block; padding: 7px 12px; border-radius: 3px; animation: podFlash .9s steps(2, end) .9s infinite; box-shadow: 0 0 22px rgba(255, 226, 150, .7); }
#podium .pod-winner { position: absolute; top: 19%; left: 50%; translate: -50% 0; z-index: 4; pointer-events: none; text-align: center; opacity: 0; animation: podWinIn .35s .9s steps(4, end) forwards, podWinOut .6s 3.6s ease forwards; }   /* the stamp sits over the champion's portrait: show it, then clear it */
#podium .pod-winner span { display: block; font: 900 clamp(46px, 9vw, 124px)/1 'JetBrains Mono', Consolas, monospace; letter-spacing: .12em; color: #fff6d6; text-shadow: 0 0 6px #fff, 0 0 22px #ffe296, 0 0 48px #c9a25a, 0 0 90px rgba(201, 162, 90, .6); animation: podNeon 1.7s steps(1, end) infinite; }
#podium .pod-winner i { display: block; margin-top: 6px; font: 600 clamp(14px, 2vw, 20px)/1 'JetBrains Mono', Consolas, monospace; font-style: normal; letter-spacing: .3em; color: #0a0a0a; background: #e9d9a6; padding: 6px 10px; display: inline-block; }
#podium .pod-stage, #podium .pod-mvp, #podium .pod-foot { position: relative; z-index: 3; }
#podium .p1 .pod-nm { animation: podGlow 1.6s ease-in-out infinite alternate; }
#podium .p1 .pod-plat { animation: podPlatPulse 1.2s ease-in-out infinite alternate; }
#podium .pod-slot.win .pod-card { animation: podBob 1.4s ease-in-out infinite; }
@keyframes podSweep { from { transform: translateX(0) } to { transform: translateX(340vw) } }
@keyframes podFlick { 0%, 100% { opacity: .45 } 50% { opacity: .3 } 73% { opacity: .55 } }
@keyframes podFlash { 0% { background: #e9d9a6; color: #0a0a0a } 50% { background: #0a0a0a; color: #ffe296; box-shadow: 0 0 0 1px #ffe296 inset } }
@keyframes podNeon { 0%, 100% { opacity: 1 } 18% { opacity: .35 } 22% { opacity: 1 } 61% { opacity: .6 } 64% { opacity: 1 } }
@keyframes podWinOut { to { opacity: 0 } }
@keyframes podWinIn { from { opacity: 0; transform: scale(1.6) } to { opacity: 1; transform: scale(1) } }
@keyframes podNeonHead { 0%, 100% { text-shadow: 0 0 40px rgba(233, 217, 166, .35) } 50% { text-shadow: 0 0 60px rgba(255, 226, 150, .75), 0 0 10px #fff } }
@keyframes podGlow { from { text-shadow: 0 0 10px rgba(255, 226, 150, .4) } to { text-shadow: 0 0 26px rgba(255, 246, 214, .95), 0 0 6px #ffe296 } }
@keyframes podPlatPulse { from { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 -18px 50px -20px rgba(233, 217, 166, .35) } to { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 -26px 70px -14px rgba(255, 226, 150, .75) } }
@keyframes podBob { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-6px) } }
/* reduced motion and calm: no flashing, no sweeps, no bobbing; the static gold / black / white look stays */
#podium.calm .pod-scan, #podium.calm .pod-sweep { display: none; }
#podium.calm .pod-champ, #podium.calm .pod-winner span, #podium.calm .pod-head b, #podium.calm .pod-nm, #podium.calm .pod-plat, #podium.calm .pod-slot.win .pod-card { animation: none !important; }
#podium.calm .pod-winner { animation: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { #podium .pod-scan, #podium .pod-sweep { display: none; } #podium .pod-champ, #podium .pod-winner span, #podium .pod-head b, #podium .pod-nm, #podium .pod-plat, #podium .pod-slot.win .pod-card { animation: none !important; } #podium .pod-winner { animation: none; opacity: 1; } }

/* ---- podium v2: portraits, plain numerals, names under the platforms, MVP ring + skull ---- */
#podium .pod-slot { gap: 0; }
#podium .pod-port { position: relative; width: clamp(92px, 11vw, 150px); height: clamp(92px, 11vw, 150px); margin-bottom: 14px; display: grid; place-items: center; }
#podium .pod-pimg { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: #0a0a0a; border: 2px solid var(--tc, #e9d9a6); }
#podium .pod-init { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #2a2414, #0a0a0a 70%); border: 2px solid var(--tc, #e9d9a6); color: #e9d9a6; font: 600 clamp(28px, 3.4vw, 44px)/1 'Cormorant Garamond', Georgia, serif; letter-spacing: .04em; }
#podium .pod-plat em { top: 14px; font: 500 clamp(44px, 6.4vw, 80px)/1 'Cormorant Garamond', Georgia, serif; }
#podium .pod-skull { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; width: clamp(28px, 3vw, 40px); height: clamp(28px, 3vw, 40px); }
#podium .pod-skull svg { width: 100%; height: 100%; fill: none; stroke: #e9d9a6; stroke-width: 1.4; stroke-linejoin: round; }
#podium .pod-nm { margin-top: 12px; font: 500 clamp(18px, 2.2vw, 26px)/1.1 'Cormorant Garamond', Georgia, serif; text-shadow: none; }
#podium .pod-slot.you .pod-nm { text-shadow: none; color: #fbf6e6; }
#podium .pod-kda { margin-top: 6px; font: 500 12px/1 'JetBrains Mono', Consolas, monospace; letter-spacing: .12em; color: #bdb49a; }
#podium .pod-mvp-line { font: 500 13px/1 'JetBrains Mono', Consolas, monospace; letter-spacing: .25em; color: #e9d9a6; text-align: center; }
#podium .pod-mvp-line .pod-skull-sm { display: inline-block; width: 18px; height: 18px; vertical-align: -4px; margin-right: 6px; }
#podium .pod-mvp-line .pod-skull-sm svg { width: 100%; height: 100%; fill: none; stroke: #e9d9a6; stroke-width: 1.6; }
/* the MVP's portrait gets a spinning gold ring */
#podium .pod-slot.mvp .pod-port::before { content: ''; position: absolute; inset: -9px; border-radius: 50%; background: conic-gradient(from 0deg, #c9a25a, #fff6d6, #c9a25a 25%, transparent 45%, #e9d9a6 65%, transparent 80%, #c9a25a); -webkit-mask: radial-gradient(circle, transparent 60%, #000 62%); mask: radial-gradient(circle, transparent 60%, #000 62%); animation: podMvpSpin 2.6s linear infinite; }
#podium .pod-slot.mvp .pod-port::after { content: ''; position: absolute; inset: -18px; border-radius: 50%; border: 1px solid rgba(233, 217, 166, .35); animation: podMvpPulse 1.6s ease-out infinite; }
#podium .pod-slot.mvp .pod-plat { border-color: #e9d9a6; }
@keyframes podMvpSpin { to { transform: rotate(360deg); } }
@keyframes podMvpPulse { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.12); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #podium .pod-slot.mvp .pod-port::before, #podium .pod-slot.mvp .pod-port::after { animation: none; } }
#podium.calm .pod-slot.mvp .pod-port::before, #podium.calm .pod-slot.mvp .pod-port::after { animation: none; }

/* the 2D initials badge sat over the 3D figures on the podium; hide it (the figures carry the scene) */
#podium .pod-port:has(.pod-init) { display: none; }

/* The 3D podium (js/podium3d.js) owns the middle of the screen: the overlay is a title at the top and one slim nameplate row at the bottom.
   No pedestal blocks, portraits or scanlines over the characters. */
#podium.pod { background: linear-gradient(180deg, rgba(4, 5, 14, .55), transparent 22%, transparent 72%, rgba(4, 5, 14, .78)); padding-bottom: calc(22px + var(--safe-b)); }
#podium .pod-scan, #podium .pod-sweep, #podium .pod-port, #podium .pod-crown, #podium .pod-skull, #podium .pod-winner { display: none !important; }
#podium .pod-head b { font-size: clamp(30px, 4.6vw, 58px); font-family: 'Cinzel', 'Cormorant Garamond', serif; }
#podium .pod-stage { align-items: flex-end; align-self: end; gap: clamp(10px, 2vw, 28px); margin: 0; }
#podium .pod-slot { width: clamp(170px, 20vw, 270px); flex-direction: column-reverse; }
#podium .pod-slot .pod-plat, #podium .p1 .pod-plat, #podium .p2 .pod-plat, #podium .p3 .pod-plat { height: 34px; animation: none; border-radius: 0; border: 1px solid rgba(244, 228, 188, .4); border-bottom: 0; background: rgba(9, 10, 26, .82); box-shadow: none; backdrop-filter: blur(4px); }
#podium .pod-plat em { top: 5px; font: 500 20px/1 'Cinzel', 'Cormorant Garamond', serif; color: #f4e4bc; }
#podium .pod-card { order: -1; width: 100%; margin: 0; padding: 8px 10px 10px; border: 1px solid rgba(244, 228, 188, .4); border-top: 0; background: rgba(9, 10, 26, .82); backdrop-filter: blur(4px); animation: none !important; }
#podium .pod-nm { margin-top: 0; font: 500 clamp(15px, 1.6vw, 20px)/1.2 'Cinzel', 'Cormorant Garamond', serif; letter-spacing: .08em; }
#podium .pod-mvp { margin: 8px 0 4px; min-height: 0; }
#podium .pod-champ { animation: none; box-shadow: none; background: none; color: #f4e4bc; border: 1px solid rgba(244, 228, 188, .5); font-family: 'Cinzel', serif; }
#podium .pod-slot { flex-direction: column; padding-bottom: 10px; border: 1px solid rgba(244, 228, 188, .4); background: rgba(9, 10, 26, .82); backdrop-filter: blur(4px); }
#podium .pod-slot.p1 { border-color: #f4e4bc; }
#podium .pod-slot .pod-plat, #podium .p1 .pod-plat, #podium .p2 .pod-plat, #podium .p3 .pod-plat { border: 0; border-bottom: 1px solid rgba(244, 228, 188, .2); background: none; backdrop-filter: none; margin-bottom: 8px; }
#podium .pod-kda { font-family: 'Cinzel', serif; }
#podium .pod-plat:after { display: none; }
#podium .p1 .pod-plat { background: none !important; } #podium .p1 .pod-plat em { color: #fff3cf; }
#podium .pod-plat em { position: static; display: block; line-height: 34px; }
#podium .pod-slot .pod-plat, #podium .pod-slot .pod-plat em { background: none !important; clip-path: none !important; box-shadow: none !important; animation: none !important; }
#podium .p1 .pod-plat em { color: #fff3cf !important; -webkit-text-fill-color: #fff3cf; }
