/* Reuse the established full-screen event-still frame, backdrop and copy styles. */
dialog.reward-still{
 position:fixed;inset:auto;
 left:var(--reward-view-left,0px);top:var(--reward-view-top,0px);transform:none;
 display:block;
 width:var(--reward-view-width,100vw);height:var(--reward-view-height,100dvh);
 max-width:none;max-height:none;margin:0;padding:0;
 border:0;border-radius:0;background:transparent;box-shadow:none;overflow:hidden;
}
dialog.reward-still:not([open]){display:none}
dialog.reward-still .event-still-frame{width:100%;height:100%}
dialog.reward-still .reward-still-image-button{
 display:block;min-height:0;
 width:100%;height:100%;margin:0;padding:0;border:0;border-radius:0;
 background:transparent;box-shadow:none;transform:none;cursor:pointer;
}
.reward-still-image{animation:reward-still-fade .22s ease-out both}
.reward-still .reward-still-controls{pointer-events:none}
.reward-still .reward-still-controls>h2{pointer-events:auto}
dialog.reward-still .reward-still-controls>button{
 display:inline-block;margin:0;width:auto;font-size:var(--ui-choice-font);line-height:var(--ui-button-line-height);
 min-height:var(--ui-button-min-height);padding:var(--ui-button-padding-y) var(--ui-button-padding-x);
 transform:none;pointer-events:auto;
}
/* Reparent the existing music dock without inheriting generic dialog button layout. */
dialog.reward-still #bgm-controls button{display:inline-block;width:auto;margin:0}
#question [data-reward-still-hidden][hidden]{display:none}
@keyframes reward-still-fade{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.reward-still-image{animation:none}}
