/* The public typography, layout, palette and paintings remain the baseline. */
body[data-relief-heads=cube] .avatar-flat{display:none}
body:not([data-relief-heads=cube]) .avatar-cube{display:none}
body[data-relief-heads=cube] .portrait-avatar{overflow:visible;perspective:180px}
body[data-relief-heads=cube] .portrait-avatar>.avatar{border-radius:0!important;box-shadow:none!important;background:none!important;overflow:visible;filter:drop-shadow(0 2px 1px #0007);transition:transform .22s ease}
body[data-relief-heads=cube] a:hover .portrait-avatar>.avatar{transform:translateY(-1px) rotate(-3deg)}
body[data-relief-medals=soft] .honour>svg{filter:drop-shadow(0 1px 0 #000b) drop-shadow(0 -0.5px 0 #efdfb32e) drop-shadow(0 3px 2px #0005)}
body[data-relief-medals=deep] .honour>svg{filter:drop-shadow(0 1px 0 #24241c) drop-shadow(0 2px 0 #0b1114) drop-shadow(-.5px -.8px 0 #fff2) drop-shadow(0 5px 3px #0009)}
body[data-relief-medals=soft] .honour,body[data-relief-medals=deep] .honour{perspective:230px}
body[data-relief-medals=soft] .honour>svg,body[data-relief-medals=deep] .honour>svg{transform-origin:50% 25%;backface-visibility:visible;transition:filter .2s ease}
body[data-relief-badgemotion=seal] .honour{animation:none!important;transform:none!important}
body[data-relief-badgemotion=seal] .honour:is(:hover,:focus-visible)>svg{animation:relief-seal .65s cubic-bezier(.2,.6,.3,1) both}
@keyframes relief-seal{0%{transform:rotateY(0) rotateZ(0)}30%{transform:rotateY(-24deg) rotateZ(-6deg) translateY(-1px)}64%{transform:rotateY(11deg) rotateZ(2deg)}100%{transform:rotateY(0) rotateZ(0)}}
body[data-relief-badgemotion=quiet] .honour,body[data-relief-badgemotion=quiet] .honour *{animation:none!important;transform:none!important}
body[data-relief-logo=soft] .brand-emblem{filter:drop-shadow(0 1px 0 #273e48) drop-shadow(0 3px 2px #0009);transition:transform .25s ease,filter .25s ease}
body[data-relief-logo=deep] .brand-emblem{filter:drop-shadow(0 1px 0 #3e5966) drop-shadow(0 2px 0 #142b36) drop-shadow(0 4px 2px #000b);transition:transform .25s ease}
body:is([data-relief-logo=soft],[data-relief-logo=deep]) .brand{perspective:350px}
body:is([data-relief-logo=soft],[data-relief-logo=deep]) .brand:hover .brand-emblem{transform:rotateY(-18deg) rotateZ(-3deg)}
/* Depth now comes from the articulated rig, never from rotating a flat SVG/card. */
body .podium-card,body .podium-card:hover,body .home-leader,body .home-leader:hover{transform:none!important;filter:none!important;backdrop-filter:none!important}
body :is(.podium-card,.home-leader,.popular-portrait) .skin{transform:none!important;filter:none!important;transition:none!important;animation:none!important;backdrop-filter:none!important}
body[data-relief-heads=cube] a:hover .portrait-avatar>.avatar{transform:none!important}
body:not([data-relief-textures=pixel]) .skin image{image-rendering:auto!important}
body[data-relief-textures=pixel] .skin image{image-rendering:pixelated!important}
@media(prefers-reduced-motion:reduce){.honour>svg,.brand-emblem,.podium-card,.portrait-avatar>.avatar{animation:none!important;transition:none!important}body .podium-card:hover,body .brand:hover .brand-emblem,body a:hover .portrait-avatar>.avatar{transform:none!important}}