.generation-result-dialog:not(.is-video-preview){max-height:calc(100dvh - 24px);overflow:auto}
.generation-result-dialog:not(.is-video-preview) .generation-result-shell{min-width:0}
.generation-result-dialog:not(.is-video-preview) .generation-result-shell>header{position:relative;min-width:0;height:auto!important;flex-wrap:wrap;align-content:flex-start}
.generation-result-dialog:not(.is-video-preview) .generation-result-media:not(.is-native){height:min(60dvh,720px);min-height:160px!important;max-height:720px;overflow:hidden}
.generation-result-dialog:not(.is-video-preview) .generation-result-media:not(.is-native)>img{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;min-width:0;min-height:0}
.generation-result-dialog:not(.is-video-preview) .generation-result-shell>footer{min-width:0;position:relative}
.generation-result-dialog .generation-prompt-details{width:100%;min-width:0;max-width:100%;font-size:13px}
.generation-result-dialog .generation-prompt-details>summary{display:flex;align-items:flex-start;gap:12px;cursor:pointer;list-style:none;color:#d5e1db}
.generation-result-dialog .generation-prompt-details>summary::-webkit-details-marker{display:none}
.generation-result-dialog .generation-prompt-details summary strong{flex:none;white-space:nowrap;font-size:13px}
.generation-result-dialog .generation-prompt-details summary>span{min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:12px;line-height:1.6;flex:1}
.generation-result-dialog .generation-prompt-details summary em{flex:none;font-style:normal;font-size:12px;color:#9bd7b7}
.generation-result-dialog .generation-prompt-details summary em::before{content:'展开'}
.generation-result-dialog .generation-prompt-details[open] summary em::before{content:'收起'}
.generation-result-dialog .generation-prompt-body{max-height:min(22dvh,180px);overflow:auto;overscroll-behavior:contain;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;border:1px solid #35463c;border-radius:8px;background:#131b17;color:#c4d0c8;font-size:12px;line-height:1.7;margin:10px 0 0}
@media(max-width:700px){.generation-result-dialog:not(.is-video-preview){width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:10px}.generation-result-dialog:not(.is-video-preview) .generation-result-media:not(.is-native){height:48dvh;min-height:160px!important}.generation-result-dialog .generation-prompt-details>summary{gap:8px}.generation-result-dialog .generation-prompt-body{max-height:25dvh}}
