#menu .shared-preview-rail {
 top:auto;right:0;bottom:0;left:auto;
 width:auto;height:auto;justify-content:flex-end;
 padding:7px 8px;
}
#menu [data-shared-preview-host] {inline-size:auto;min-block-size:0;}
#menu .banner-preview-transport {width:auto;min-height:0;padding:0;gap:0;}
#menu .page-banner-art::after {display:none;}
.banner-preview-meta {
 position:absolute;inline-size:1px;block-size:1px;overflow:hidden;
 white-space:nowrap;clip-path:inset(50%);
}
#menu .banner-preview-actions {gap:3px;}
#menu .banner-preview-actions button,
#menu .banner-preview-actions button[data-preview-toggle] {
 width:41px;height:42px;padding:0;
 background:none;border:0;box-shadow:none;
 color:#ffe8ce;
}
#menu .banner-preview-actions button:not(:disabled):hover,
#menu .banner-preview-actions button[data-preview-toggle]:not(:disabled):hover {
 background:none;filter:brightness(1.16);
}
#menu .banner-preview-actions button>img {
 display:none;width:26px;height:26px;object-fit:contain;pointer-events:none;
 filter:drop-shadow(0 1px 2px #170e0bee);
}
#menu .banner-preview-actions button>svg {
 width:21px;height:21px;filter:drop-shadow(0 1px 2px #170e0bee);
}
#menu .banner-preview-actions button[data-art-ready]>img {display:block;}
#menu .banner-preview-actions button[data-art-ready]>svg {display:none;}
#menu .banner-preview-volume-pop {
 inset:auto auto 100% 50%;transform:translateX(-50%);
 padding:4px 2px;border-radius:6px;
}
#menu .banner-preview-volume-pop input {block-size:16px;}
@media (max-width:570px){
 #menu .shared-preview-rail{padding:5px 6px;}
 #menu .banner-preview-actions button {width:42px;height:44px;}
}
@media (prefers-reduced-motion:no-preference){
 .banner-preview-actions>button:not(:disabled):hover>img,
 .banner-preview-volume>button:not(:disabled):hover>img {transform:translateY(-1px);}
}

#scoreView .run-history-action {
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 align-items:stretch;align-content:center;gap:7px;
}
#scoreView .run-history-action button {
 width:100%;height:44px;min-height:44px;box-sizing:border-box;margin:0;
}
#scoreView .run-history-action .run-history-download,
#scoreView .run-history-action .run-history-unavailable,
#scoreView .run-history-action:not(:has(.run-history-export)) .run-history-watch {
 grid-column:1/-1;
}
@media (max-width:365px) {
 #scoreView .run-history-action {grid-template-columns:minmax(0,1fr);}
}

#game #combo:not(:empty)::before {
 content:none!important;display:none!important;
}

@media (min-width:850px) {
 #menu #landingView .pf-hero #landingProfile {
  inset-block-start:clamp(14px,3vw,32px);inset-block-end:auto;
 }
}
@media (min-width:571px) and (max-width:849px) {
 #menu #landingView .pf-hero #landingProfile {
  position:relative;inset:auto;inline-size:min(100%,300px);margin:7px 0 0 auto;
 }
 #menu #landingView .pf-hero #landingProfile::before {content:none;}
}
#menu #replayPresetButton {
 min-block-size:44px;padding-inline:14px;
}
#menu #replayPresetButton [data-wordmark="edit-replay-look"] {
 --word-image:url("wuffbeat/edit-replay-look-596.webp");
 --word-height:20px;
 --word-ratio:8.42;
}
@media (forced-colors:active){
 #menu #replayPresetButton .word-copy {white-space:nowrap;}
}
