/**
 * TorrentMac hub — только отличия от single / torrentmac-app.css
 */

body.is-app-hub #content {
	margin-top: 0;
}

body.is-app-hub .single_row .feature-img {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	min-height: 0;
	margin-top: 0;
	padding-top: 0;
}

body.is-app-hub .single_row .feature-img img,
body.is-app-hub .single_row .feature-img .tm-hub-hero__icon {
	display: block;
	width: auto;
	height: auto;
	max-width: 170px;
	max-height: 170px;
	object-fit: contain;
	object-position: center;
	border-radius: 12px;
	image-rendering: auto;
}

@media (max-width: 767px) {
	body.is-app-hub .single article.tm-hub-app.post .single_row {
		align-items: stretch;
	}

	body.is-app-hub .single article.tm-hub-app.post .single_row .torrent_info {
		width: 100%;
		flex: 1 1 auto;
		min-width: 0;
		max-width: 100%;
	}

	body.is-app-hub .single article.tm-hub-app.post .single_row .torrent_info .tm-torrent-card {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
}

body.is-app-hub .tm-hub-security-trigger {
	background: none;
	border: 0;
	color: #27ae60;
	cursor: pointer;
	font: inherit;
	padding: 0;
}

body.is-app-hub .tm-metric--scanned .tm-metric__value--scan {
	display: inline-flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
}

body.is-app-hub .tm-metric--scanned .tm-hub-scan-status {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	gap: 4px;
	text-decoration: underline;
}

body.is-app-hub .tm-metric--scanned .tm-hub-scan-status__label {
	font-weight: 600;
}

body.is-app-hub .tm-metric--scanned time {
	color: #222;
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}

/* Галерея: 3 скрина в ряд, стрелки сбоку */
body.is-app-hub .tm-single-blocks > .tm-hub-gallery {
	--tm-hub-gallery-gap: 12px;
	--tm-hub-gallery-per-view: 3;
	width: 100%;
	max-width: 100%;
	margin: 12px 0 0;
	padding: 0;
	box-sizing: border-box;
}

body.is-app-hub .tm-hub-gallery__shell {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}

body.is-app-hub .tm-hub-gallery__viewport {
	flex: 1 1 auto;
	min-width: 0;
	container-type: inline-size;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

body.is-app-hub .tm-hub-gallery__viewport::-webkit-scrollbar {
	display: none;
}

body.is-app-hub .tm-hub-gallery__viewport:focus-visible {
	outline: 2px solid #27ae60;
	outline-offset: 2px;
}

body.is-app-hub .tm-hub-gallery__track {
	display: flex;
	flex-wrap: nowrap;
	gap: var(--tm-hub-gallery-gap);
	margin: 0;
	padding: 0;
	width: max-content;
}

body.is-app-hub .tm-hub-gallery__slide {
	flex: 0 0 calc((100cqi - (var(--tm-hub-gallery-per-view) - 1) * var(--tm-hub-gallery-gap)) / var(--tm-hub-gallery-per-view));
	width: calc((100cqi - (var(--tm-hub-gallery-per-view) - 1) * var(--tm-hub-gallery-gap)) / var(--tm-hub-gallery-per-view));
	max-width: calc((100cqi - (var(--tm-hub-gallery-per-view) - 1) * var(--tm-hub-gallery-gap)) / var(--tm-hub-gallery-per-view));
	scroll-snap-align: start;
	display: block;
	box-sizing: border-box;
	border-radius: 8px;
	overflow: hidden;
	background: #f3f4f3;
	cursor: zoom-in;
	line-height: 0;
	isolation: isolate;
}

body.is-app-hub .tm-hub-gallery__slide:focus {
	outline: none;
}

body.is-app-hub .tm-hub-gallery__slide:focus:not(:focus-visible) {
	outline: none;
	box-shadow: none;
}

body.is-app-hub .tm-hub-gallery__slide:focus-visible {
	outline: 2px solid #27ae60;
	outline-offset: 2px;
}

body.is-app-hub .tm-hub-gallery__slide:hover {
	opacity: 0.95;
}

body.is-app-hub .tm-hub-gallery__slide img {
	display: block;
	width: 100%;
	height: 168px;
	object-fit: contain;
	object-position: center center;
	background: #f3f4f3;
}

body.is-app-hub .tm-hub-gallery__nav {
	position: static;
	flex: 0 0 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 1px solid #e0e0e0;
	border-radius: 50%;
	background: #fff;
	color: #333;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
	cursor: pointer;
	transform: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.is-app-hub .tm-hub-gallery__nav .fa {
	font-size: 15px;
	line-height: 1;
	pointer-events: none;
}

body.is-app-hub .tm-hub-gallery__nav:hover:not(:disabled) {
	background: #27ae60;
	border-color: #27ae60;
	color: #fff;
	box-shadow: 0 2px 12px rgba(39, 174, 96, 0.35);
}

body.is-app-hub .tm-hub-gallery__nav:disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

@container (max-width: 560px) {
	body.is-app-hub .tm-hub-gallery {
		--tm-hub-gallery-per-view: 2;
	}

	body.is-app-hub .tm-hub-gallery__slide img {
		height: 140px;
	}
}

@container (max-width: 360px) {
	body.is-app-hub .tm-hub-gallery {
		--tm-hub-gallery-per-view: 1;
	}

	body.is-app-hub .tm-hub-gallery__slide img {
		height: 200px;
	}
}

@media (max-width: 480px) {
	body.is-app-hub .tm-hub-gallery__shell {
		gap: 6px;
	}

	body.is-app-hub .tm-hub-gallery__nav {
		flex: 0 0 34px;
		width: 34px;
		height: 34px;
	}
}

body.is-app-hub .tm-single-blocks > .tm-hub-tabs {
	width: 100%;
	margin-top: 20px;
}

body.is-app-hub .tm-hub-info-author {
	margin: 0 0 16px;
	padding: 16px 18px;
	border: 1px solid #e8ebe9;
	border-radius: 10px;
	background: #fafbfa;
}

body.is-app-hub .tm-hub-info-author__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 12px;
}

body.is-app-hub .tm-hub-info-author__photo {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
}

body.is-app-hub .tm-hub-info-author__eyebrow {
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6b7280;
}

body.is-app-hub .tm-hub-info-author__sep {
	margin: 0 6px;
	font-weight: 400;
}

body.is-app-hub .tm-hub-info-author__eyebrow time {
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	color: #374151;
}

body.is-app-hub .tm-hub-info-author__editorial {
	margin: 0 0 10px;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.35;
	color: #1a1a1a;
}

body.is-app-hub .tm-hub-info-author__bio {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: #444;
}

body.is-app-hub .tm-hub-info-author__bio a {
	color: #c22;
	text-decoration: none;
	font-weight: 600;
}

body.is-app-hub .tm-hub-info-author__bio a:hover {
	text-decoration: underline;
}

body.is-app-hub .tm-hub-information-content {
	width: 100%;
	margin: 0 0 4px;
	padding: 16px 18px;
	border: 1px solid #e8ebe9;
	border-radius: 10px;
	background: #fff;
	box-sizing: border-box;
}

body.is-app-hub .tm-hub-information-content h3 {
	margin: 1.25em 0 0.5em;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.35;
	color: #222;
}

body.is-app-hub .tm-hub-information-content h3:first-child {
	margin-top: 0;
}

body.is-app-hub .tm-hub-information-content p {
	margin: 0 0 0.85em;
	line-height: 1.55;
}

body.is-app-hub .tm-hub-information-content ul {
	margin: 0 0 1em;
	padding-left: 1.35em;
	list-style: disc;
}

body.is-app-hub .tm-hub-information-content li {
	margin-bottom: 0.35em;
	line-height: 1.5;
}

body.is-app-hub .tm-hub-tabs__nav {
	display: flex;
	gap: 0;
	list-style: none;
	margin: 0;
	background: #f3f5f4;
	border-bottom: 1px solid #e0e4e2;
	border-radius: 10px 10px 0 0;
}

body.is-app-hub .tm-hub-tabs__nav li {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
}

body.is-app-hub .tm-hub-tabs__nav button {
	display: block;
	width: 100%;
	margin: 0;
	padding: 11px 14px;
	border: 1px solid transparent;
	border-bottom: none;
	border-radius: 8px 8px 0 0;
	background: transparent;
	color: #5f6763;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

body.is-app-hub .tm-hub-tabs__nav button:hover {
	color: #1f2937;
	background: rgba(255, 255, 255, 0.55);
}

body.is-app-hub .tm-hub-tabs__nav button[aria-selected="true"] {
	position: relative;
	z-index: 1;
	margin-bottom: -1px;
	border-color: #e0e4e2;
	background: #fff;
	color: #111827;
	box-shadow: 0 1px 0 #fff;
}

body.is-app-hub .tm-hub-tabs__nav button[aria-selected="true"]::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	border-radius: 2px 2px 0 0;
	background: #27ae60;
}

body.is-app-hub .tm-hub-tabs__panel {
	background: #fff;
}

body.is-app-hub .tm-hub-tabs__panel[data-panel="info"] {
	padding-top: 28px;
}

body.is-app-hub .tm-hub-tabs__panel[data-panel="versions"] {
	padding-top: 24px;
}

body.is-app-hub .tm-hub-tabs__panel[hidden] {
	display: none !important;
}

.tm-hub-meta__list div {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 8px;
	margin-bottom: 8px;
}

.tm-hub-meta__list dt {
	font-weight: 600;
	margin: 0;
}

.tm-hub-meta__list dd {
	margin: 0;
}

/* Version dropdown (hero + Information) */
body.is-app-hub .tm-hub-version-select-cell {
	vertical-align: middle;
}

body.is-app-hub .tm-hub-version-select,
body.is-app-hub .tm-hub-meta__list .tm-hub-version-select {
	display: block;
	width: 100%;
	max-width: 220px;
	margin: 0;
	padding: 7px 32px 7px 10px;
	box-sizing: border-box;
	border: 1px solid #d0d0d0;
	border-radius: 6px;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23444' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 10px 6px;
	color: #222;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

body.is-app-hub .tm-hub-version-select:hover {
	border-color: #27ae60;
}

body.is-app-hub .tm-hub-version-select:focus {
	border-color: #27ae60;
	outline: none;
	box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.2);
}

body.is-app-hub .torrentInfoTable .tm-hub-version-select {
	max-width: 100%;
}

/* All versions — ровные строки таблицы */
body.is-app-hub .tm-hub-versions-tab {
	margin: 0;
}

body.is-app-hub .tm-hub-versions-tab .tm-older-versions__title {
	margin: 0 0 14px;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.35;
	color: #1a1a1a;
}

body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table-wrap {
	border-color: #e8ebe9;
	border-radius: 10px;
}

body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table {
	table-layout: fixed;
}

body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table th,
body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table td {
	vertical-align: middle;
	padding: 14px 16px;
	line-height: 1.4;
}

body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table thead th {
	background: #f8fafc;
	font-size: 13px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #64748b;
}

body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table th:nth-child(1),
body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table td:nth-child(1) {
	width: 44%;
}

body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table th:nth-child(2),
body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table td:nth-child(2) {
	width: 34%;
}

body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table th:nth-child(3),
body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table td.tm-hub-versions__action {
	width: 22%;
	text-align: right;
}

body.is-app-hub .tm-hub-versions-tab .tm-older-versions__version {
	align-items: center;
	min-height: 24px;
}

body.is-app-hub .tm-hub-versions__dl {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 108px;
	min-height: 34px;
	margin: 0;
	padding: 7px 14px;
	box-sizing: border-box;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	vertical-align: middle;
	white-space: nowrap;
}

@media (max-width: 767px) {
	body.is-app-hub article.tm-hub-app .tm-hub-versions-tab .tm-older-versions__table-scroll {
		overflow-x: visible;
	}

	body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table,
	body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table tbody {
		display: block;
		width: 100%;
	}

	body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table {
		table-layout: auto;
	}

	body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table thead {
		display: none;
	}

	body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table tbody tr {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 6px 10px;
		padding: 12px;
		border-bottom: 1px solid #eee;
		box-sizing: border-box;
	}

	body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table tbody tr.is-latest {
		border-left: 4px solid #059669;
		padding-left: 8px;
	}

	body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table tbody tr.is-latest td:first-child {
		box-shadow: none;
	}

	body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table th:nth-child(1),
	body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table td:nth-child(1),
	body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table th:nth-child(2),
	body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table td:nth-child(2),
	body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table th:nth-child(3),
	body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table td.tm-hub-versions__action {
		width: auto;
	}

	body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table tbody td {
		display: block;
		padding: 0;
		border-bottom: none;
	}

	body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table tbody td:first-child {
		flex: 1 1 100%;
	}

	body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table tbody td:nth-child(2) {
		flex: 1 1 auto;
		font-size: 12px;
		color: #64748b;
	}

	body.is-app-hub .tm-hub-versions-tab .tm-older-versions__table tbody td.tm-hub-versions__action {
		flex: 0 0 auto;
		margin-left: auto;
		text-align: right;
	}

	body.is-app-hub .tm-hub-versions__dl {
		min-width: 0;
		width: auto;
		padding: 6px 12px;
		font-size: 12px;
	}
}

.tm-hub-badge {
	font-size: 11px;
	padding: 2px 6px;
	border-radius: 4px;
	margin-left: 6px;
}

.tm-hub-badge--latest {
	background: #27ae60;
	color: #fff;
}

.tm-hub-badge--lts,
.tm-hub-badge--stable {
	background: #3498db;
	color: #fff;
}

.tm-hub-layout__main section,
body.is-app-hub article.tm-hub-app section {
	margin-bottom: 32px;
}

.tm-hub-section-title {
	font-size: 22px;
	margin: 0 0 12px;
}

body.is-app-hub .tm-hub-tabs__panel[data-panel="info"] .tm-hub-information-content + .tm-pros-cons,
body.is-app-hub .tm-hub-tabs__panel[data-panel="info"] .tm-pros-cons,
body.is-app-hub .tm-hub-tabs__panel[data-panel="info"] .tm-whats-new {
	margin-top: 20px;
}

body.is-app-hub .tm-hub-tabs__panel[data-panel="info"] .tm-pros-cons[open] .tm-pros-cons__summary,
body.is-app-hub .tm-hub-tabs__panel[data-panel="info"] .tm-whats-new[open] .tm-whats-new__summary {
	cursor: default;
}

body.is-app-hub .tm-hub-tabs__panel[data-panel="info"] .tm-hub-install {
	margin-top: 20px;
	padding: 16px 18px;
	border: 1px solid #e8ebe9;
	border-radius: 10px;
	background: #fafbfa;
}

body.is-app-hub .tm-hub-install__title {
	margin: 0 0 14px;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.35;
	color: #1a1a1a;
}

body.is-app-hub .tm-hub-install__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.is-app-hub .tm-hub-install__item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 0 0 14px;
}

body.is-app-hub .tm-hub-install__item:last-child {
	margin-bottom: 0;
}

body.is-app-hub .tm-hub-install__num {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #27ae60;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

body.is-app-hub .tm-hub-install__body {
	flex: 1;
	min-width: 0;
}

body.is-app-hub .tm-hub-install__step {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: #374151;
}

body.is-app-hub .tm-hub-install__step-title {
	display: inline;
	margin-right: 6px;
	color: #111827;
}

body.is-app-hub .tm-hub-install__step-title::after {
	content: "—";
	margin-left: 6px;
	font-weight: 400;
	color: #9ca3af;
}

body.is-app-hub .tm-hub-install__step-text {
	display: inline;
}

body.is-app-hub .tm-hub-tabs__panel[data-panel="info"] .tm-app-faq {
	margin: 20px 0 0;
}

body.is-app-hub #secondary .widget_tm_hub_security {
	margin-bottom: 1.429em;
}

body.is-app-hub #secondary .widget_tm_hub_security .widget_posts {
	padding: 0;
}

body.is-app-hub #secondary .tm-hub-sidebar-security {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 12px 14px;
	border: 0;
	border-radius: 0;
	background: #f3f3f3;
	color: #222;
	font: inherit;
	font-size: 14px;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
	box-sizing: border-box;
}

body.is-app-hub #secondary .tm-hub-sidebar-security .fa-shield {
	flex-shrink: 0;
	font-size: 18px;
	color: #27ae60;
}

body.is-app-hub #secondary .tm-hub-sidebar-security__label {
	flex: 1;
	min-width: 0;
	font-weight: 600;
	color: #27ae60;
	text-decoration: underline;
	text-align: left;
}

body.is-app-hub #secondary .tm-hub-sidebar-security:hover .tm-hub-sidebar-security__label,
body.is-app-hub #secondary .tm-hub-sidebar-security:focus-visible .tm-hub-sidebar-security__label {
	color: #1e8e4a;
}

.tm-hub-alternatives__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 12px;
}

.tm-hub-alternatives__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 12px;
	border: 1px solid #eee;
	border-radius: 8px;
	text-align: center;
	text-decoration: none;
	color: inherit;
}

.tm-hub-related-cats__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tm-hub-related-cats__btn {
	padding: 8px 14px;
	background: #f5f5f5;
	border-radius: 20px;
	text-decoration: none;
	font-size: 13px;
}

.tm-hub-screenshots__track {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding-bottom: 8px;
}

.tm-hub-screenshots__item img {
	border-radius: 8px;
	display: block;
}

.tm-hub-security-modal[hidden] {
	display: none !important;
}

.tm-hub-security-modal:not([hidden]) {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tm-hub-security-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.tm-hub-security-modal__box {
	position: relative;
	background: #fff;
	padding: 24px 24px 20px;
	border-radius: 8px;
	max-width: 420px;
	margin: 16px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.tm-hub-security-modal__dismiss {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f3f3f3;
	color: #555;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.tm-hub-security-modal__dismiss:hover,
.tm-hub-security-modal__dismiss:focus {
	background: #e8e8e8;
	color: #222;
}

.tm-hub-security-modal__statuses {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}

.tm-hub-security-modal__status {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 14px;
	line-height: 1.45;
}

.tm-hub-security-modal__status .fa {
	flex-shrink: 0;
	width: 18px;
	margin-top: 2px;
	text-align: center;
}

.tm-hub-security-modal__status--safe .fa {
	color: #27ae60;
}

.tm-hub-security-modal__status--warn .fa {
	color: #e67e22;
}

.tm-hub-security-modal__status--removed .fa {
	color: #c0392b;
}

.tm-hub-security-modal__close {
	display: block;
	width: 100%;
	margin: 0;
	padding: 10px 16px;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #f9f9f9;
	font: inherit;
	cursor: pointer;
}

body.is-app-hub .torrent_info .tm-hub-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 12px;
	width: 100%;
	max-width: 100%;
	min-height: 44px;
	margin: 10px 0 0;
	padding: 10px 16px;
	box-sizing: border-box;
	border: 0;
	border-radius: 6px;
	background: #27ae60;
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	text-decoration: none !important;
	box-shadow: 0 2px 8px rgba(39, 174, 96, 0.35);
	transition: background 0.2s ease, box-shadow 0.2s ease;
}

body.is-app-hub .torrent_info .tm-hub-cta__lead {
	flex-shrink: 0;
	font-size: 16px;
}

body.is-app-hub .torrent_info .tm-hub-cta__title {
	line-height: 1.3;
}

body.is-app-hub .tm-hub-hero__footnote {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 16px;
	margin: 14px 0 0;
	padding: 0;
	font-size: 13px;
	color: #666;
	text-align: center;
}

body.is-app-hub .tm-hub-hero__footnote-mac em {
	font-style: italic;
}

body.is-app-hub .tm-hub-hero__footnote-meta {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 16px;
}

body.is-app-hub .tm-hub-hero__chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	font-weight: 500;
	color: #444;
	white-space: nowrap;
}

body.is-app-hub .tm-hub-hero__chip .fa {
	line-height: 1;
	color: #27ae60;
	text-align: center;
}

body.is-app-hub .tm-hub-hero__chip--version .fa {
	font-size: 16px;
}

body.is-app-hub .tm-hub-hero__chip--size .fa {
	font-size: 18px;
}

body.is-app-hub .torrent_info .tm-hub-cta:hover,
body.is-app-hub .torrent_info .tm-hub-cta:focus {
	background: #219a52;
	color: #fff !important;
	box-shadow: 0 4px 12px rgba(39, 174, 96, 0.45);
}

body.is-app-hub .torrent_info .tm-hub-cta > .fa {
	font-size: 16px;
}

body.is-app-hub .torrent_info {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

body.is-app-hub .tm-hub-hero__mac-only {
	display: block;
	margin: 14px 0 0;
	padding: 0;
	font-size: 13px;
	color: #666;
	text-align: center;
}

/* Top Posts сайдбара хаба: иконка на весь thumb (cover), без полос */
body.is-app-hub #secondary .torrentmac-top-post-card__thumb {
	display: block;
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	aspect-ratio: 1;
	line-height: 0;
	font-size: 0;
	overflow: hidden;
}

body.is-app-hub #secondary .torrentmac-top-post-card__thumb img,
body.is-app-hub #secondary .torrentmac-top-post-card__img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	min-width: 0;
	min-height: 0;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: cover !important;
	object-position: center;
}

.tm-hub-disclaimer {
	font-size: 12px;
	color: #666;
	border-top: 1px solid #eee;
	padding-top: 16px;
}

.tm-hub-author__card {
	display: flex;
	gap: 12px;
	align-items: center;
}

.tm-hub-author__photo {
	border-radius: 50%;
}

.tm-hub-install__steps {
	list-style: none;
	padding: 0;
	margin: 0;
}

.tm-hub-install__steps li {
	display: flex;
	gap: 12px;
	margin-bottom: 12px;
}

.tm-hub-install__num {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	background: #27ae60;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
}

/* Облако тегов-кнопок */
body.is-app-hub .tm-hub-tag-cloud {
	margin: 24px 0 0;
}

body.is-app-hub .tm-hub-tag-cloud--main {
	padding: 20px 0 0;
	border-top: 1px solid #eee;
}

body.is-app-hub .tm-hub-tag-cloud__title,
body.is-app-hub .widget_tm_hub_tag_cloud .widgettitle span {
	font-size: 18px;
	font-weight: 600;
	color: #222;
}

body.is-app-hub .tm-hub-tag-cloud__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin: 14px 0 0;
	padding: 0;
}

body.is-app-hub .tm-hub-tag-cloud--sidebar .tm-hub-tag-cloud__list {
	margin-top: 10px;
}

body.is-app-hub .tm-hub-tag-cloud__pill {
	display: inline-flex;
	align-items: center;
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	color: #2c3e50;
	background: #f4f6f8;
	border: 1px solid #e2e6ea;
	border-radius: 999px;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

body.is-app-hub .tm-hub-tag-cloud__pill:hover,
body.is-app-hub .tm-hub-tag-cloud__pill:focus-visible {
	background: #27ae60;
	border-color: #27ae60;
	color: #fff;
	box-shadow: 0 2px 8px rgba(39, 174, 96, 0.28);
	outline: none;
}

body.is-app-hub #secondary .widget_tm_hub_tag_cloud {
	margin-bottom: 0;
}

body.is-app-hub .widget_tm_hub_tag_cloud .tm-hub-tag-cloud {
	margin: 0;
}

body.is-app-hub .widget_tm_hub_tag_cloud .tm-hub-tag-cloud__list {
	gap: 7px 8px;
}

body.is-app-hub .widget_tm_hub_tag_cloud .tm-hub-tag-cloud__pill {
	padding: 6px 12px;
	font-size: 12px;
}
