.brich__tor {padding: 10px; overflow: hidden;}
.brich__tor .cont {border: 1px solid var(--bdc);}
.bord_a1, .li_list_a3 {padding: 6px 10px; border-bottom: 1px solid var(--bdc);}
.bord_a1:last-child, .li_list_a3:last-child {border-bottom: 0;}
.brich__tor b {font-weight: 400;}
.li_distribute_m, .li_swing_m, .li_download_m {display: inline-block; border-radius: 2px; 
  padding: 0px 3px; font-size: 12px; color: #fff; text-align: center; min-width: 20px; line-height: 1.3;}
.li_distribute_m {background-color: var(--yellow); color: #000;}
.li_swing_m {background-color: var(--red);}
.li_download_m {background-color: var(--green);}
.li_list_a3 {padding: 0;}
.li_swing_a1, .li_list_a1 {padding: 6px 10px;}
.bord_a1 .bord_a1 {padding: 0;}
.mg a, .mg img {display: block;}
.mg img {width: 30px;}
.torrent + .torrent {margin-top: 10px;}

/* Исправляем главный контейнер из TPL */
.trt.torrent {display: flex !important; flex-wrap: wrap; gap: 20px; width: 100%; align-items: flex-start;}
.trt__left {flex: 1 1 400px; min-width: 0;} /* Тянется и занимает все свободное место */
.trt__right {flex: 0 0 100%; width: 100%;} /* Фиксированная колонка справа */

.torrent .title {height:50px; clear:left; background: linear-gradient(to top, rgba(0,0,0,0.5),transparent); 
	border-top: 1px solid var(--bdc); border-right: 1px solid var(--bdc); padding-right: 10px;}
.torrent .title a { color:var(--yellow);}
.torrent .title a:hover .info_d {text-decoration:underline;}
.torrent .download, .torrent .download a {width:174px; height:50px; padding-left: 50px; line-height: 1; 
	font-size: 16px; font-weight: 600; color: #fff; letter-spacing: 1px; text-decoration: none !important;
	background: url(../../images/tor.svg) 10px center / 30px no-repeat, linear-gradient(to bottom, #77c01b, #53a920);}
.torrent .download span {font-size: 12px; text-transform: uppercase; font-weight: 400; display: block; margin-bottom: 3px;}
.torrent .cont a {color:var(--tt-fade);}
.torrent .cont a:hover {text-decoration:underline;}  

.torrent .li_list_a1 {cursor: pointer;}
.trackerFileTree .folderOpen .next_folder { display: block; }
.trackerFileTree .folderClose .next_folder { display: none; }
.trackerFileTree .folder {padding-left: 20px;}
.trackerFileTree .folderOpen { background: url('../img/folder_open.png') 0 center no-repeat; }
.trackerFileTree .folderClose { background: url('../img/folder_close.png') 0 center no-repeat; }
.trackerAllFolder { cursor: pointer; width: 16px; height: 16px; float: right; }
.trackerAllFolder.implode { background: url('../img/folder_implode.png') no-repeat; }
.trackerAllFolder.explode { background: url('../img/folder_explode.png') no-repeat; }
.trackerShowLoading { opacity: 0.6; position: absolute; background: #bbb; color:#000;font-weight: 600; font-size:30px; display:table;}

@media screen and (max-width: 760px) {
	.multitr {width: 100%;}
	.torrent .download, .torrent .download a {width: 50px; overflow: hidden;}
}

.brich__tor {background-color: rgba(0,0,0,0.1); box-shadow: inset 0 0 40px rgba(0,0,0,0.8); padding: 20px;}
.trt__info {border: 1px solid var(--bdc); gap: 0;}
.trt__info li + li {border-top: 1px solid var(--bdc);}
.trt__info li > * {display: flex; align-items: center; flex-wrap: wrap; gap: 2px 10px; padding: 6px 10px; border-left: 1px solid var(--bdc);}
.trt__info li {position: relative; display: flex; flex-wrap: wrap;}
.trt__info li::before {width: 32px; color: var(--accent); font-size: 18px;}
.trt__info li > span:first-child {color: var(--tt-fade); width: 185px; white-space: nowrap;}
.trt__info li > span:last-child {flex: 1 1 0; max-width: 100%; min-width: 100px;}
.trt__info li a {color: var(--accent);}
.trt__info li .trt__links a, .trt__links a {display: inline-flex; align-items: center; gap: 10px; 
	font-size: 12px; text-transform: uppercase; color: var(--tt-fade);}
.trt__links a:not(:last-child)::after {content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--blue);}
.trt__info2-item {padding: 10px 20px; font-size: 12px; line-height: 1; gap: 5px;
	background-color: hsl(from var(--clr) h s l / 0.1); color: var(--clr);}
.trt__info2-item span {font-weight: 500; font-size: 18px; color: var(--clr); order: -1; width: 100%;}
.trt__info2-item:nth-child(1), .trt__multi-item-count:nth-child(2) {--clr: var(--yellow)}
.trt__info2-item:nth-child(2), .trt__multi-item-count:nth-child(3) {--clr: var(--red)}
.trt__info2-item:nth-child(3), .trt__multi-item-count:nth-child(4) {--clr: var(--green)}
.trt__multi, .trt__files-caption {cursor: pointer; font-weight: 400;}
.trt__multi-item, .trt__files-item {padding: 6px 10px; color: var(--tt-fade); background-color: rgba(255,255,255,0.06);}
.trt__multi-item + .trt__multi-item, .trt__files-item + .trt__files-item {margin-top: 5px;}
.trt__multi-item-count {font-weight: 500; color: var(--clr);}
.trt__files-caption span {font-weight: 400; color: var(--tt-fade);}

/* Растягиваем кнопку и название */
.trt__ctrl {display: flex !important; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.4), rgba(0,0,0,0.1)); border: 1px solid var(--bdc);}
.trt__ctrl-btn {flex: 0 0 180px; min-height: 60px; padding-left: 80px; line-height: 1; font-size: 12px; text-transform: uppercase;
	color: #fff; background: url(../../images/tor.svg) 20px center / 40px no-repeat, linear-gradient(to bottom, #77c01b, #53a920); display: flex; flex-direction: column; justify-content: center;}
.trt__ctrl-btn span {font-weight: 500; font-size: 18px; letter-spacing: 1px; text-transform: none; margin-top: 3px;}
.trt__ctrl-name {flex: 1; color: var(--yellow); line-height: 1.3; padding: 5px 10px; display: flex; flex-direction: column; justify-content: center; min-width: 0;}
.trt__ctrl-name div:first-child {font-size: 11px; text-transform: uppercase; color: var(--tt-fade); margin-bottom: 1px;}
.trt__ctrl-magnet {flex: 0 0 60px; min-height: 60px; border-left: 1px solid var(--bdc); 
	display: grid; place-items: center; background-color: rgba(0,0,0,0.3);}
.trt__ctrl-magnet img {display: block; height: 30px;}

.trt__multi:hover, .trt__files-caption:hover, .trt a:hover, .folder:hover {text-decoration: underline;}
.trt a.trt__ctrl-btn:hover {text-decoration: none; box-shadow: inset 0 0 20px rgba(0,0,0,0.3);}
.trt__ctrl-magnet:hover img {opacity: 0.8;}
.trt__editor + .trt__links {display: flex; position: absolute; right: 0; top: 76px;}
.li_list_a1, .li_swing_a1 {padding: 0;}
.li_list_a1 {margin-top: 5px;}
.folder {font-size: 12px; color: var(--tt-fade);}
.trackerFileTree .folderClose, .trackerFileTree .folderOpen {background-position: 0 3px;}
.next_folder {padding: 6px 10px; color: var(--tt-fade); margin: 10px 10px 0 0;
	background-color: rgba(255,255,255,0.06); font-size: 12px;}

@media screen and (max-width: 960px) {
	.trt__right {width: 100%; flex: 1 1 100%;}
}
@media screen and (max-width: 760px) {
    /* Растягиваем кнопку скачивания на всю ширину */
    .trt__ctrl {flex-wrap: wrap;}
    .trt__ctrl-btn {flex: 0 0 100%; width: 100%; border-bottom: 1px solid var(--bdc);}
    
    /* Исправляем наложение иконок на цифры в статистике */
    .trt__info2 {flex-direction: column; width: 100%;} /* Плашки встают друг под друга */
    .trt__info2-item {
        width: 100%; 
        flex-direction: row; /* Текст и цифра в одну строку */
        justify-content: space-between; /* Разносим по краям */
        padding: 12px 20px;
    }
    .trt__info2-item span {
        order: 1; /* Цифра справа */
        margin-bottom: 0;
        display: flex;
        align-items: center;
    }
    /* Добавляем жесткий отступ иконке, чтобы не липла к цифре */
    .trt__info2-item span::before {
        margin-right: 2px !important; 
        display: inline-block;
    }

    /* Подправляем таблицу характеристик */
    .trt__info li > span:first-child {
        width: 110px; 
        min-width: 110px; 
        white-space: normal; 
        font-size: 12px; 
        line-height: 1.2;
    }
    .trt__editor + .trt__links {display: none;}
}

