/* The same metals and gems identify each podium, including the open registers. */
#book-podium .podium-medal{--metal:#dfb85d;--light:#fff0ae;--shade:#745023;--jewel:#b98b35}
#book-podium .place-2{--metal:#b9c6cd;--light:#f4fbff;--shade:#606f79;--jewel:#d2e4ed}
#book-podium .place-3{--metal:#bd875c;--light:#efc39b;--shade:#65402c;--jewel:#a6653c}
[data-period=allTime] #book-podium .place-1{--metal:#d5b15c;--light:#fff0b0;--shade:#736029;--jewel:#35b58b}
[data-period=allTime] #book-podium .place-2{--metal:#d1b16c;--light:#f4fcff;--shade:#75613e;--jewel:#8acfe2}
[data-period=allTime] #book-podium .place-3{--metal:#e2b759;--light:#fff0a1;--shade:#805520;--jewel:#f2c85d}
#book-podium .podium-portrait,#book-podium .place-1 .podium-portrait{position:relative;display:inline-grid;place-items:center;box-sizing:content-box;overflow:visible;border:4px solid transparent;border-radius:50%;background:linear-gradient(#635e49,#635e49) padding-box,conic-gradient(from 25deg,var(--shade),var(--light),var(--metal),var(--shade),var(--light),var(--metal),var(--shade)) border-box;box-shadow:0 0 0 1px var(--shade),0 4px 7px #42342140}
#book-podium .podium-portrait img{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover}
#book-podium .podium-portrait:after{content:'';position:absolute;inset:-8px;border:2px solid var(--metal);border-top-color:transparent;border-bottom-color:transparent;border-radius:50%;pointer-events:none}
#book-podium .place-1 .podium-portrait:before{content:'';position:absolute;top:-18px;left:50%;width:28px;height:16px;transform:translateX(-50%);background:linear-gradient(120deg,var(--light),var(--metal) 55%,var(--shade));clip-path:polygon(0 10%,28% 45%,50% 0,72% 45%,100% 10%,87% 100%,13% 100%)}
[data-period=allTime] #book-podium .podium-portrait:after{inset:-9px;border:3px double var(--metal);border-left-color:var(--jewel);border-right-color:var(--jewel)}
[data-period=allTime] #book-podium .podium-portrait:before{content:'';position:absolute;top:-13px;left:50%;width:14px;height:14px;transform:translateX(-50%) rotate(45deg);border:2px solid var(--metal);background:conic-gradient(var(--light),var(--jewel),var(--shade),var(--jewel),var(--light));clip-path:none}
[data-period=allTime] #book-podium .place-1 .podium-portrait:before{width:18px;height:18px;top:-16px}
#book-podium .podium-place{position:relative;z-index:1;border-color:var(--shade);background:linear-gradient(var(--light),var(--metal));color:#352618}

/* Small portrait rings make the list itself consistent with its trophies. */
#pantheon-ranking li:nth-child(1){--rank-ring:#c59b3f}
#pantheon-ranking li:nth-child(2){--rank-ring:#899eac}
#pantheon-ranking li:nth-child(3){--rank-ring:#a16b43}
[data-period=allTime] #pantheon-ranking li:nth-child(1){--rank-ring:#328b69}
[data-period=allTime] #pantheon-ranking li:nth-child(2){--rank-ring:#6eaebe}
[data-period=allTime] #pantheon-ranking li:nth-child(3){--rank-ring:#c59b3f}
#pantheon-ranking li:has(.rank-trophy) .rank-avatar{border:2px solid var(--rank-ring);box-shadow:0 0 0 1px #8c765560}
