/* Scope to the homepage medal; no rotating geometry or duplicated crest. */
html[data-sh54-home] :is(.sh-hunt-badge,#sh-v28-hero-online,#sh-v27-inline-online,#sh-v26-online-nav,#sh-v51-hero-online,.sh52-medal,.sh53-medal){display:none!important}
.sh54-orbit{display:none!important}
.sh54-medal{display:grid;width:max-content;max-width:100%;justify-items:center;text-align:center;font-family:inherit}
.sh54-label{font-size:clamp(1.08rem,1.45vw,1.4rem);color:#d9b878;letter-spacing:.11em;line-height:1.2}
.sh54-count{display:block;position:relative;margin:.22rem 0 .34rem;line-height:1;font-weight:500;font-family:inherit;font-size:clamp(2.75rem,5vw,3.9rem);font-variant-numeric:lining-nums tabular-nums;color:#f0d498;text-shadow:0 1px 0 #76542e,0 3px 6px #090a0d,0 0 15px #c89a4c35}
.sh54-count::before,.sh54-count::after{content:"";position:absolute;top:53%;width:1.2rem;height:1px;background:linear-gradient(90deg,transparent,#b79152b0);right:calc(100% + .48rem)}
.sh54-count::after{right:auto;left:calc(100% + .48rem);transform:rotate(180deg)}
.sh54-crest{display:block;position:relative;line-height:0}
.sh54-crest img{display:block;animation:sh55-edge-light 6.8s ease-in-out infinite}
@keyframes sh55-edge-light{
  0%,100%{filter:drop-shadow(0 0 2px #cfa85b45) drop-shadow(0 0 11px #cfa85b0d)}
  50%{filter:drop-shadow(0 0 3px #e8c7799e) drop-shadow(0 0 12px #d3ab6442)}
}
html[data-sh55-hidden] .sh54-crest img{animation-play-state:paused}
/* Override V54's nonuniform scaling; positive Y travel keeps city art below
   the viewport edge. The original fog's X animation remains independent. */
body :is(.backdrop,.yt-v11-backdrop) :is(.backdrop-moon,.backdrop-city-far,.backdrop-city-near,.moon,.far,.near){scale:none!important;translate:none!important}
body :is(.backdrop,.yt-v11-backdrop) .sh55-shift.sh55-shift{translate:0 calc(var(--sh55-scroll,0) * var(--sh55-depth,0px))!important;scale:none!important}
body .backdrop .backdrop-layer.sh55-shift{transform:none!important}
:is(.sh-v51-lanterns,.sh-v51-clouds,.sh-v51-mist,.sh-v51-watchers,.sh52-cloud){display:none!important}
@media(prefers-reduced-motion:reduce){
  body :is(.backdrop,.yt-v11-backdrop) .sh55-shift.sh55-shift{translate:none!important}
  .sh54-crest img{animation:none!important;filter:drop-shadow(0 0 3px #cfa85b66)}
  :is(.backdrop-fog,.backdrop-embers > span,.yt-v11-backdrop .fog){animation:none!important}
}
