/* Keep the next-day button outside the scrolling result, within the fixed window. */
.outcome-modal.vn-modal{--result-window-height:190px;min-height:0;overflow:hidden}
.outcome-modal.vn-modal>.vn-scene{min-height:0;flex:1 1 0}
.outcome-modal.vn-modal>.vn-outcome{
 display:flex;flex-direction:column;gap:7px;
 flex:0 0 var(--result-window-height);
 height:var(--result-window-height);min-height:var(--result-window-height);max-height:var(--result-window-height);
 box-sizing:border-box;padding:8px 10px;overflow:hidden;
}
.outcome-modal .vn-outcome-body{
 flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;
 scrollbar-gutter:stable;padding-right:2px;
}
.outcome-modal .vn-outcome-body .outcome-verdict{margin:0 0 4px}
.outcome-modal .vn-outcome-body .chosen-line{margin:3px 0 5px}
.outcome-modal .vn-outcome-body .outcome-changes:has([data-change-sequence]){
 height:auto;max-height:none;overflow:visible;scrollbar-gutter:auto;margin:6px 0 0;padding:0;
}
.outcome-modal .vn-outcome>[data-modal="story-next"]{
 flex:0 0 auto;width:100%;min-height:38px;max-width:100%;margin:0;padding:8px 12px;
 line-height:1.4;white-space:normal;
}
.outcome-modal.vn-modal>.vn-save-note{flex:0 0 auto;min-height:0;padding:3px 5px;font-size:7px;line-height:1.4}
@media(max-width:480px){
 .outcome-modal.vn-modal{--result-window-height:220px}
 .outcome-modal.vn-modal>.vn-outcome{padding:7px 8px;gap:6px}
 .outcome-modal .vn-outcome>[data-modal="story-next"]{min-height:40px;font-size:11px}
}
@media(max-height:580px) and (min-width:600px){
 .outcome-modal.vn-modal{--result-window-height:130px}
 .outcome-modal.vn-modal>.vn-outcome{padding:5px 8px;gap:5px}
 .outcome-modal .vn-outcome>[data-modal="story-next"]{min-height:32px;padding:5px 10px;font-size:10px}
 .outcome-modal .vn-outcome-body .outcome-verdict{font-size:8px;margin-bottom:2px}
 .outcome-modal .vn-outcome-body .chosen-line{margin:2px 0 3px}
}
@media(max-height:559px) and (max-width:599px){
 .outcome-modal.vn-modal{--result-window-height:150px;height:calc(100dvh - 10px)}
 .outcome-modal.vn-modal>.pocket-hud{min-height:80px}
}
