/* torrent page presentation. */
.torrent-details-panel{max-width:100%;min-width:0;position:relative}
.torrent-details-row[hidden]{display:none!important}
.torrent-details-panel>.loading{padding:24px}
.torrent-details-dismiss{display:flex;justify-content:flex-end;padding:9px 12px;border-bottom:1px solid var(--ht-frame-color)}
.torrent-details-dismiss button{min-height:30px!important;padding:4px 10px!important;font-size:12px!important}
@media(max-width:800px){.torrent-details-row>td{display:block!important;width:100%!important;border:0!important}.torrent-details-panel{border:1px solid var(--ht-frame-color);border-radius:10px;overflow:hidden}}
@media(max-width:700px){.torrent-name .torrent-page-title{font-size:18px!important}}
.torrent-details-panel{container-type:inline-size}
body.site-reimagined .content .torrent-lightweight-container .lightweight-main-content{display:grid!important}
/* Expanded previews occupy the whole listing and wrap independently of table cells. */
body.site-reimagined .browse-workspace .poster-item:has(>.torrent-details-panel:not([hidden])){grid-column:1/-1}
body.site-reimagined .browse-workspace .poster-item>.torrent-details-panel{grid-column:1/-1;width:100%;box-sizing:border-box}
.torrent-details-panel .torrent-lightweight-container{white-space:normal;min-width:0;box-sizing:border-box}
.torrent-details-panel .lightweight-main-content>*{min-width:0}
.torrent-details-panel .lightweight-info-section{container:torrent-preview-info / inline-size}
.torrent-details-panel .torrent-data-list-lightweight>li{white-space:normal;overflow-wrap:anywhere}
@container(max-width:700px){
 .torrent-details-panel{padding:12px}
 .torrent-details-panel .torrent-lightweight-container{padding:0}
 body.site-reimagined .torrent-details-panel .lightweight-main-content{padding:12px 0}
 .torrent-details-panel .lightweight-info-section{padding:12px}
 body.site-reimagined .torrent-details-panel .torrent-data-list-lightweight{padding:0!important}
 .torrent-details-panel .torrent-data-list-lightweight strong{min-width:0;margin-inline-end:8px}
 .torrent-lightweight-container .lightweight-staff-actions .action-button-lightweight{flex-basis:120px}
 body.site-reimagined .content .torrent-lightweight-container .torrent-download-keys>.torrent-key-panel{width:100%;min-width:0;max-width:100%}
}
