.ending-control{position:relative;min-height:52px!important;padding:12px 20px!important;max-width:100%;white-space:normal!important;border:1px solid #af8d54!important;border-radius:9px!important;background:#f1dfb8!important;color:#604321!important;font:600 16px/1.35 Georgia,serif!important;box-shadow:inset 0 1px #fff5d8,0 2px 2px #5e402422}
.ending-control:focus-visible{outline:3px solid #415c73;outline-offset:3px}
.ending-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.ending-actions .ending-control{min-width:160px}
:is(.ending-next-v15,.ending-next-credits-v19){padding-right:62px!important}
:is(.ending-previous-v15,.credits-previous-v19){padding-left:62px!important}
:is(.ending-next-v15,.ending-next-credits-v19,.ending-previous-v15,.credits-previous-v19)::after{content:'';position:absolute;right:12px;top:50%;width:40px;height:30px;transform:translateY(-50%);background:url('/assets/props-r59/book-next.png') center/contain no-repeat;pointer-events:none}
:is(.ending-previous-v15,.credits-previous-v19)::after{right:auto;left:12px;transform:translateY(-50%) scaleX(-1)}

/* End-leaf navigation: one painted direction, with room around the label. */
.panel.ending-panel :is(.ending-next-v15,.ending-next-credits-v19,.ending-previous-v15,.credits-previous-v19){--ending-step:3px;cursor:pointer}
.panel.ending-panel :is(.ending-previous-v15,.credits-previous-v19){--ending-step:-3px}
.panel.ending-panel :is(.ending-next-v15,.ending-next-credits-v19,.ending-previous-v15,.credits-previous-v19)::after{transition:translate .16s ease,filter .16s ease}
@media(hover:hover){.panel.ending-panel :is(.ending-next-v15,.ending-next-credits-v19,.ending-previous-v15,.credits-previous-v19):hover::after{translate:var(--ending-step) 0;filter:drop-shadow(0 1px 1px #79512955)}}
.panel.ending-panel :is(.ending-next-v15,.ending-next-credits-v19,.ending-previous-v15,.credits-previous-v19):active::after{translate:var(--ending-step) 1px;filter:brightness(.94)}
@media(prefers-reduced-motion:reduce){.panel.ending-panel .ending-control::after{transition:none;translate:none!important}}
body.still .panel.ending-panel .ending-control::after{transition:none;translate:none!important}
@media(max-width:550px){.panel.ending-panel.ending-page-one-v15 .ending-next-v15{flex:1 1 auto!important}}
