/* Keep the case window independent of whichever screen is inside it. */
.v59-theme #modal.overlay>.modal.v107-case-shell{box-sizing:border-box;width:min(1100px,calc(100vw - 40px))!important;max-width:1100px!important;height:min(820px,calc(100dvh - 40px))!important;max-height:calc(100dvh - 40px)!important;padding:20px!important;display:flex!important;flex-direction:column;overflow:hidden!important;transition:none!important;animation:none!important;transform:none!important}
#modal>.modal.v107-case-shell>.row{position:relative!important;top:auto!important;flex:0 0 auto;min-height:44px;margin:0 0 12px!important;z-index:2}
#modal>.v107-case-shell>#modalcontent{flex:1 1 0;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;position:relative;isolation:isolate}
.v107-opening-flow{display:flex;flex-direction:column;justify-content:center;min-height:100%;width:100%}
.v107-opening-flow>#v79SceneHost{flex:0 0 auto;width:100%;min-width:0;position:relative}
.v107-opening-flow>#v79Skip{flex:0 0 auto;align-self:center;margin:16px auto 8px}
.v107-case-shell .v79-chain{width:min(100%,640px);margin:0 auto;padding:5px 0 0}
.v107-case-shell .v79-chain-heading{min-height:81px;margin-top:0}
.v107-case-shell .v79-chain-status{min-height:36px;display:flex;align-items:center;justify-content:center;line-height:1.5}
.v107-case-shell .v79-safe-note{min-height:32px;margin:6px auto 0}
.v107-case-shell .v79-chain-pair b{height:28px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.v107-case-shell .v79-chain-pair img{display:block;aspect-ratio:auto;object-fit:contain!important;transform:none!important;animation:none!important}
.v107-case-shell .v79-chain-pair>div{height:171px;box-sizing:border-box}
.v107-case-shell .v79-chain-pair [data-v81-from],.v107-case-shell .v79-chain-pair [data-v81-target]{transition:border-color .2s ease,background-color .2s ease}
.v107-case-shell #modalcontent>.v96-result{box-sizing:border-box;min-height:100%;margin:0!important;display:flex;flex-direction:column;justify-content:center;padding:12px 8px}
.v107-case-shell .v96-result .v66-result-art img,.v107-case-shell .v96-result,.v107-case-shell .v96-result *{animation:none!important}
.v107-case-shell .v96-result-items{flex:none}
.v107-case-shell .v96-result[data-count="1"] .v96-result-items{width:min(100%,620px);align-self:center}
.v107-case-shell .v96-result-actions{width:min(100%,680px);align-self:center}
.v107-case-shell .v96-result-status{min-height:18px}
.v107-case-shell .v82-chain-history{width:min(100%,680px);align-self:center}
@media(max-width:700px){
 .v59-theme #modal.overlay>.modal.v107-case-shell{width:calc(100vw - 16px)!important;height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important;padding:13px!important;border-radius:18px}
 #modal>.modal.v107-case-shell>.row{margin-bottom:10px!important}
 .v107-case-shell .v79-chain-pair>div{height:147px}
 .v107-case-shell .v79-chain-heading{min-height:77px;margin-bottom:13px}
 .v107-case-shell .v79-chain-heading h2{font-size:23px}
 .v107-case-shell .v79-rx-stage{margin-top:12px;margin-bottom:9px}
 .v107-case-shell #modalcontent>.v96-result{padding:8px 0}
}
@media(prefers-reduced-motion:reduce){.v107-case-shell *{scroll-behavior:auto!important}}
