/* Photo and metallic frames use separate layers so live text stays sharp. */
html body #page-leaders .yella-lb-container{position:relative;isolation:isolate}
html body #page-leaders .yella-lb-container:before{content:"";position:absolute;z-index:-1;pointer-events:none;top:-26px;left:-24px;right:-24px;height:340px;background:linear-gradient(0deg,#061f29,transparent 80%),linear-gradient(90deg,#061f29e8,#061f2960),url('./assets/yella-standings-river-v1199.webp') center 54%/cover;opacity:.85;border-radius:0 0 20px 20px}
html body #page-leaders .ys98-heading{padding:20px 0 10px;margin-bottom:18px}
html body #page-leaders .ys98-heading h1{font-size:clamp(30px,4vw,44px)!important;text-shadow:0 2px 14px #00151e}
html body #page-leaders .ys98-heading button{background:#05232dd9;color:#ede4cc;border-color:#8ca4a56b;backdrop-filter:blur(8px)}
html body #page-leaders #ys98-period-label{color:#d3e0df;text-shadow:0 1px 5px #000}
html body #page-leaders .ys98-stage{border:0;background:repeating-radial-gradient(ellipse at 50% 140%,transparent 0 34px,#5e939610 35px 36px,transparent 37px 70px);padding:28px 18px 12px;overflow:visible;margin-bottom:12px}
html body #page-leaders .ys98-stage-heading{display:none}
html[data-yella-theme="dark"] #page-leaders #yella-lb-podium{max-width:900px!important;gap:24px!important;align-items:stretch!important;padding-top:16px!important;margin-bottom:18px!important}
html body #page-leaders #yella-lb-podium .ys97-podium-card{--rim-light:#f2f7fa;--rim-dark:#668591;--glow:#b9d5df26;--shine:#e9f4f8;--metal:#b1c8d1;min-height:310px!important;border:2px solid transparent!important;border-radius:16px!important;padding:30px 14px 16px!important;background:linear-gradient(#0a2933,#07232d) padding-box,linear-gradient(135deg,var(--rim-light),var(--rim-dark) 27%,var(--rim-light) 48%,var(--metal) 72%,var(--rim-dark)) border-box!important;box-shadow:0 0 13px var(--glow),0 8px 22px #0004,inset 0 0 0 1px #ffffff12!important;transform:none!important;overflow:hidden;isolation:isolate}
html body #page-leaders #yella-lb-podium .yp20-gold{--rim-light:#fff2ba;--rim-dark:#a97a20;--metal:#eac45d;--shine:#ffe5a0;--glow:#f5c45755;min-height:330px!important;margin-top:-20px!important;padding-top:36px!important;box-shadow:0 0 0 1px #f7cf6470,0 0 25px #efbc4660,0 12px 30px #0004,inset 0 0 0 1px #ffe8a340!important}
html body #page-leaders #yella-lb-podium .yp20-bronze{--rim-light:#f0c7a6;--rim-dark:#82543d;--metal:#c38e68;--shine:#f6d4b5;--glow:#cf8f5330}
#page-leaders #yella-lb-podium .ys99-scenery{position:absolute;inset:0 0 auto;height:170px;z-index:-1;background:linear-gradient(0deg,#0a2933,transparent 90%),linear-gradient(#051e2825,#051e2830),url('./assets/yella-standings-river-v1199.webp') center 56%/cover;opacity:.9;pointer-events:none}
#page-leaders #yella-lb-podium .yp20-silver .ys99-scenery{filter:saturate(.6)}
#page-leaders #yella-lb-podium .yp20-bronze .ys99-scenery{filter:sepia(.25)}
html body #page-leaders #yella-lb-podium .yp20-avatar{width:86px!important;height:86px!important;border:3px solid var(--metal)!important;margin:4px 0 27px!important;box-shadow:0 0 0 4px #05232d70!important}
html body #page-leaders #yella-lb-podium .yp20-gold .yp20-avatar{width:96px!important;height:96px!important}
html body #page-leaders #yella-lb-podium .yp20-rank{position:absolute;top:106px;left:50%;transform:translateX(-50%);width:36px!important;height:36px!important;display:flex!important;justify-content:center;align-items:center;border:2px solid var(--metal)!important;border-radius:50%;background:linear-gradient(#1b3e48,#061f29)!important;box-shadow:0 2px 10px #0006!important;color:var(--shine)!important;z-index:3;font-size:21px!important;margin:0!important}
html body #page-leaders #yella-lb-podium .yp20-rank small{display:none}
html body #page-leaders #yella-lb-podium .yp20-gold .yp20-rank{top:122px}
#page-leaders #yella-lb-podium .ys98-laurel{top:41px;width:164px;height:108px;opacity:.95;color:var(--metal);z-index:2}
#page-leaders #yella-lb-podium .yp20-gold .ys98-laurel{top:54px;width:178px}
html body #page-leaders #yella-lb-podium .yp20-name{font-size:18px!important;margin:2px 0 0!important;min-height:44px!important}
html body #page-leaders #yella-lb-podium .yp20-points{font-size:32px!important;letter-spacing:-.7px!important;margin:6px 0 18px!important;color:#f1d079!important}
html body #page-leaders #yella-lb-podium .yp20-points small{color:#d1dedf!important;letter-spacing:.9px;font-size:9px!important}
html body #page-leaders #yella-lb-podium .yp20-catches{font-size:12px!important;padding-top:13px!important;border-color:#ffffff25!important}
@media(max-width:600px){
html body #page-leaders .yella-lb-container:before{left:-14px;right:-14px;height:260px;background-position:center,center,center 56%}
html body #page-leaders .ys98-heading{padding:10px 0 4px;margin-bottom:16px}
html body #page-leaders .ys98-stage{padding:22px 0 6px}
html[data-yella-theme="dark"] #page-leaders #yella-lb-podium{gap:8px!important;padding-top:10px!important;margin-bottom:8px!important}
html body #page-leaders #yella-lb-podium .ys97-podium-card{min-height:232px!important;padding:20px 5px 12px!important;border-radius:12px!important}
html body #page-leaders #yella-lb-podium .yp20-gold{min-height:244px!important;margin-top:-12px!important;padding-top:23px!important;box-shadow:0 0 0 1px #f7cf6450,0 0 16px #efbc4645,0 7px 18px #0003!important}
#page-leaders #yella-lb-podium .ys99-scenery{height:110px}
html body #page-leaders #yella-lb-podium .yp20-avatar{width:48px!important;height:48px!important;border-width:2px!important;margin:4px 0 23px!important}
html body #page-leaders #yella-lb-podium .yp20-gold .yp20-avatar{width:54px!important;height:54px!important}
html body #page-leaders #yella-lb-podium .yp20-rank{top:63px;width:25px!important;height:25px!important;font-size:15px!important;border-width:1px!important}
html body #page-leaders #yella-lb-podium .yp20-gold .yp20-rank{top:72px}
#page-leaders #yella-lb-podium .ys98-laurel{width:89px;height:62px;top:25px}
#page-leaders #yella-lb-podium .yp20-gold .ys98-laurel{width:98px;height:68px;top:29px}
html body #page-leaders #yella-lb-podium .yp20-name{font-size:11px!important;min-height:32px!important;margin:0!important;overflow-wrap:anywhere}
html body #page-leaders #yella-lb-podium .yp20-points{font-size:clamp(17px,5vw,25px)!important;margin:3px 0 12px!important}
html body #page-leaders #yella-lb-podium .yp20-points small{font-size:7px!important;letter-spacing:.4px}
html body #page-leaders #yella-lb-podium .yp20-catches{font-size:9px!important;padding-top:10px!important}
}
