/* Restore the site's own backdrop rules. No new background layers. */
body:has(.sh54-medal) :is(#sh-v28-hero-online,#sh-v26-online-nav,#sh-v27-inline-online,#sh-v51-hero-online,.sh52-medal,[data-sh-v30-ribbon],.sh53-medal){display:none!important}
.sh54-medal{display:grid;width:max-content;max-width:100%;justify-items:center;align-content:start;color:#eadfc5;font:inherit;text-align:center}
.sh54-label{font-size:clamp(1.16rem,2vw,1.46rem);letter-spacing:.07em;color:#d9b878;line-height:1.2}
.sh54-count{position:relative;z-index:1;margin-top:.12rem;margin-bottom:-.18em;line-height:.96;font-size:clamp(2.85rem,5vw,3.85rem);font-weight:500;font-variant-numeric:lining-nums tabular-nums;color:#f1d59a;text-shadow:0 2px 2px #0b0b10,0 0 13px #d9b87850}
.sh54-crest{position:relative;display:grid;place-items:center}
.sh54-crest img{display:block}
.sh54-orbit{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;fill:none}
.sh54-track{stroke:#d9b878;stroke-width:.45;opacity:.32}
.sh54-sweep,.sh54-glow{stroke:#f5d9a0;stroke-linecap:round;stroke-dasharray:18 82;animation:sh54-orbit 7s linear infinite}
.sh54-sweep{stroke-width:.95}
.sh54-glow{stroke-width:3.2;opacity:.65;filter:blur(1.6px)}
@keyframes sh54-orbit{to{stroke-dashoffset:-100}}
html[data-sh54-paused] :is(.sh54-sweep,.sh54-glow){animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.sh54-sweep,.sh54-glow{animation:none}.sh54-glow{display:none}}
footer[data-sh52-footer]{position:relative;z-index:1}
footer[data-sh52-footer] .sh52-links{display:flex;flex-wrap:wrap;gap:.45rem 1.15rem}
footer[data-sh52-footer] .sh52-links>a{white-space:nowrap}
footer[data-sh52-footer] ul{display:flex;flex-wrap:wrap;gap:.4rem 1.35rem;list-style:none}
footer[data-sh52-footer] li>a{display:inline-flex;align-items:center;gap:.4rem}
footer[data-sh52-footer] svg{width:1.1rem;height:1.1rem;display:inline-block;vertical-align:middle}
body:has(#sh-areas)>footer[data-sh52-footer]{max-width:62rem;margin:auto;padding:1.4rem}
.sh54-track { filter:drop-shadow(0 0 2px #d9b878); opacity:.55 }
/* Existing artwork only. Grow the skyline down into the viewport edge as its
   roofline rises. Neither the file nor its existing window lighting is changed. */
body :is(.backdrop,.yt-v11-backdrop) :is(.backdrop-moon,.yt-v11-backdrop > .moon) {
  translate:0 var(--sh54-moon,0px)!important;
}
body :is(.backdrop,.yt-v11-backdrop) :is(.backdrop-city-far,.yt-v11-backdrop > .far) {
  transform-origin:center bottom!important;scale:1 var(--sh54-far,1)!important;translate:none!important;
}
body :is(.backdrop,.yt-v11-backdrop) :is(.backdrop-city-near,.yt-v11-backdrop > .near) {
  transform-origin:center bottom!important;scale:1 var(--sh54-near,1)!important;translate:none!important;
}
/* Keep the original continuous fog/ember motion. No new bottom layer. */
:is(.sh-v51-lanterns,.sh-v51-clouds,.sh-v51-mist,.sh-v51-watchers,.sh52-cloud){display:none!important}
.sh54-release {max-width:65ch;margin:1rem 0 1.5rem;padding:.7rem .95rem;border-inline-start:1px solid #a38451;background:#15181ed9;color:#d7cbb1;font:inherit;font-size:.95rem;line-height:1.55}
.sh54-release a {color:#d9b878;text-decoration:underline;text-underline-offset:.2em}
footer[data-sh54-footer] :is(#sh-v27-footer-github:not([data-sh54-social]),.sh27-github){display:none!important}
/* Activity has its own stylesheet, so it does not inherit the exported
   utility classes used by the shared footer. Supply that layout here. */
body:has(#sh-areas)>footer[data-sh54-footer] {font:1rem/1.55 Georgia,serif;color:#d7cbb1}
body:has(#sh-areas)>footer[data-sh54-footer] > div > div:first-child {display:flex;align-items:center;gap:.35rem;color:#b39c72}
body:has(#sh-areas)>footer[data-sh54-footer] > div > div:first-child > span {height:1px;flex:1;background:#b39c7280}
body:has(#sh-areas)>footer[data-sh54-footer] > div > div:nth-child(2) {display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;margin-top:1.65rem}
body:has(#sh-areas)>footer[data-sh54-footer] ul {margin:.5rem 0 0;padding:0}
body:has(#sh-areas)>footer[data-sh54-footer] img {display:inline-block;width:1.5rem;height:1.5rem;vertical-align:middle;margin-right:.4rem}
body:has(#sh-areas)>footer[data-sh54-footer] > div > p {font-size:.83rem;max-width:85ch;margin-top:1.25rem}
