/* Raster material detail, strictly contained in the existing layout boxes. */
.profile-full-name{overflow-wrap:anywhere;word-break:break-word;font-weight:700}#leaderboard li[role=button]{cursor:pointer}#leaderboard li[role=button]:focus-visible{outline:2px solid #83e4e5;outline-offset:-3px}
#leaderboard li.rank-with-portrait.rank-no-portrait{grid-template-columns:24px minmax(0,1fr)}#leaderboard li.rank-no-portrait>.rank-portrait{display:none!important}#leaderboard li.rank-no-portrait>.ranking-name,#leaderboard li.rank-no-portrait>.ranking-score{grid-column:2}
/* Reserve the same text boxes before and after the cosmetic is applied. */
#leaderboard li.rank-with-portrait>.ranking-name{height:32px;box-sizing:border-box;line-height:18px;padding:8px 0 6px;align-self:end}
#lobbyName{display:block;height:36px;box-sizing:border-box;line-height:20px;padding:9px 0 7px}
:is(#lobbyFirstName,#lobbySecondName){display:block;height:29px;box-sizing:border-box;line-height:17px;padding:7px 0 5px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.public-profile-head h3{height:40px;box-sizing:border-box;line-height:22px;padding:10px 0 8px;margin-block:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.boutique-card .boutique-frame-star{display:none}
.clip-card,.podium-achievement{position:relative;isolation:isolate;min-width:0;max-width:100%;overflow:hidden;box-sizing:border-box;border:1px solid #d6b16c66;background:radial-gradient(ellipse at 90% 0,#a268cb35,transparent 70%),linear-gradient(135deg,#253954,#121e35);box-shadow:inset 0 1px #fff3,0 6px 16px #02071544;border-radius:18px;padding:18px}
.clip-card h3,.podium-achievement :is(h3,b,p){min-width:0;overflow-wrap:anywhere}.clip-card button,.podium-achievement button{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}.clip-preview-count{display:block;font-size:clamp(44px,12vw,74px);line-height:1.15;color:#ffe5a1;letter-spacing:-2px;text-shadow:0 2px #8d542d,0 4px #402746,0 6px 14px #b87eff55}
:is(.rank-portrait,img):is(.frame-neon,.frame-ocean,.frame-gold,.record-frame-moves,.record-frame-combo,.record-frame-dual){box-sizing:border-box;border:0!important;outline:0!important;background:url('assets/ui/luxe-v2/royal-frame.webp') center/100% 100% no-repeat;box-shadow:none!important;border-radius:0!important}
#leaderboard li.rank-with-portrait>.rank-portrait:is(.frame-neon,.frame-ocean,.frame-gold,.record-frame-moves,.record-frame-combo,.record-frame-dual){width:36px!important;height:36px!important;min-width:36px;max-width:36px;padding:8px 6px 5px;margin:0}
#leaderboard .rank-portrait:is(.record-frame-moves,.record-frame-combo,.record-frame-dual)::after{display:none}.rank-portrait>img{min-width:0;min-height:0;object-fit:cover;border-radius:4px}
img:is(.frame-neon,.frame-ocean,.frame-gold,.record-frame-moves,.record-frame-combo,.record-frame-dual){padding:14px 12px 10px}
.world-profile-chip img:is(.frame-neon,.frame-ocean,.frame-gold,.record-frame-moves,.record-frame-combo,.record-frame-dual){padding:6px 5px 4px;margin:0;flex-shrink:0}.lobby-rank img:is(.frame-neon,.frame-ocean,.frame-gold,.record-frame-moves,.record-frame-combo,.record-frame-dual){padding:8px 6px 5px}
.boutique-visual>img:is(.frame-neon,.frame-ocean,.frame-gold,.record-frame-moves,.record-frame-combo,.record-frame-dual){width:76px!important;height:76px!important;padding:17px 14px 12px}.boutique-showcase img:is(.frame-neon,.frame-ocean,.frame-gold,.record-frame-moves,.record-frame-combo,.record-frame-dual){padding:10px 9px 7px}.public-profile-head img:is(.frame-neon,.frame-ocean,.frame-gold,.record-frame-moves,.record-frame-combo,.record-frame-dual){padding:18px 15px 12px}
.nameplate{--luxe-hue:0deg;position:relative;isolation:isolate;box-sizing:border-box;border:0;background:none;box-shadow:none;min-width:0;max-width:100%;height:34px;padding:9px 26px 7px;line-height:18px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center;color:#fff5d5;font-weight:800;text-shadow:0 2px 2px #000}
.nameplate::before{inset:0;z-index:-1;border:0;border-radius:0;opacity:1;clip-path:none;background:url('assets/ui/luxe-v2/royal-nameplate.webp') center/100% 100% no-repeat;filter:hue-rotate(var(--luxe-hue));pointer-events:none}.nameplate-arc{--luxe-hue:170deg}.nameplate-plasma{--luxe-hue:235deg}.nameplate-emerald{--luxe-hue:75deg}.nameplate-solar{--luxe-hue:0deg}.nameplate-nova{--luxe-hue:285deg}
#leaderboard li.rank-with-portrait>.ranking-name.nameplate{width:100%;max-width:100%;height:32px;min-height:0;padding:8px 24px 6px;font-size:11px;line-height:18px;white-space:nowrap;text-align:center}#lobbyName.nameplate{height:36px;padding:9px 26px 7px;font-size:13px}.rank-card>.nameplate{height:29px;padding:7px 16px 5px!important;line-height:17px;font-size:9px!important}.public-profile-head .nameplate{height:40px;padding:10px 30px 8px;line-height:22px}.boutique-nameplate-preview.nameplate{width:100%;height:44px;padding:13px 23px 9px;line-height:22px;font-size:11px}.boutique-card-nameplate .boutique-visual{padding-inline:0!important}.nameplate::after{inset:3px 14px;opacity:0}
.treasure-art-ready .record-chest-spinner{width:240px;height:240px;left:calc(50% - 120px);top:6px;transform-style:preserve-3d}.treasure-art-ready .record-chest{position:relative;isolation:isolate;width:240px;height:240px;transform-style:preserve-3d}.treasure-art-ready .record-chest-base,.treasure-art-ready .record-chest-lid{visibility:hidden}
.treasure-art-ready .record-chest::before,.treasure-art-ready .record-chest::after{content:'';position:absolute;inset:0;background:url('assets/ui/luxe-v2/treasure-states.webp') 0 50%/200% 100% no-repeat;pointer-events:none;transform:translateZ(4px);backface-visibility:visible;transition:opacity .38s ease,transform .55s ease}
.treasure-art-ready .record-chest::after{background-position:100% 50%;opacity:0}.treasure-art-ready .is-open .record-chest::before{opacity:0;transform:translateZ(4px) scale(.95)}.treasure-art-ready .is-open .record-chest::after{opacity:1;transform:translateZ(4px) scale(1.04)}.treasure-art-ready .record-chest-spinner:before{bottom:12px;left:25px;right:25px}
.treasure-flare{position:absolute;inset:0;pointer-events:none;opacity:0;background:radial-gradient(ellipse at 50% 62%,#fffde6f0 0,#ffdc9a88 18%,#bb7bff33 39%,transparent 68%);transform:scale(.2);z-index:2}.is-open .treasure-flare{animation:treasure-flare .9s ease-out both}.record-chest-scene{overflow:hidden}.is-open .record-chest-rays{opacity:1}.is-open .record-chest-prizes{z-index:5;animation:treasure-prizes .9s .36s cubic-bezier(.18,.8,.22,1) both}.record-chest-prize{box-shadow:inset 0 1px #fff5,0 6px 18px #03071366;border-color:#ffe3a780}.record-chest-prize:nth-child(2){animation-delay:.1s}.is-open .record-chest-confetti{animation-duration:1.2s;animation-delay:.25s}
@keyframes treasure-flare{0%{opacity:0;transform:scale(.2)}28%{opacity:.9;transform:scale(.85)}100%{opacity:0;transform:scale(1.25)}}@keyframes treasure-prizes{0%{opacity:0;transform:translateY(115px) scale(.12)}58%{opacity:1;transform:translateY(-8px) scale(1.04)}100%{opacity:1;transform:none}}
@media(max-width:350px),(max-height:650px){.treasure-art-ready .record-chest-spinner{width:210px;height:210px;left:calc(50% - 105px);top:-7px}.treasure-art-ready .record-chest{width:210px;height:210px}.boutique-nameplate-preview.nameplate{padding-inline:19px}}
@media(prefers-reduced-motion:reduce){.record-chest::before,.record-chest::after{transition:none!important}.is-open .treasure-flare{display:none}.is-open .record-chest-prizes{animation:none!important;opacity:1;transform:none}.nameplate::after{display:none!important}}
