/* AndroHack Nova template layer.
   Keeps original DLE tags, xfields, ad blocks and SEO includes intact. */

:root {
	--bg: #ffffff;
	--bg-darker: #eef3f6;
	--bg-dark: #0b111b;
	--bg-gradient: linear-gradient(135deg, #0b111b 0%, #14372f 48%, #1dbb69 100%);
	--tt: #17212b;
	--tt-fade: #6d7a87;
	--tt-fade-2: #435465;
	--tt-dark: #ffffff;
	--tt-dark-fade: rgba(255,255,255,0.76);
	--bdc: #d9e4e9;
	--bdc-dark: rgba(255,255,255,0.14);
	--bsh: 0 14px 32px rgba(11,17,27,0.14);
	--bsh-item: 0 6px 18px rgba(11,17,27,0.07);
	--bdrs: 8px;
	--accent-primary: #1dbb69;
	--red: #ff5a66;
	--blue: #1678d1;
	--green: #1dbb69;
	--orange: #f2aa42;
	--yellow: #f4d44d;
	--bg-btn: #1dbb69;
	--tt-btn: #ffffff;
	--bg-btn-hover: #149852;
	--ui-bdrs: 8px;
	--ui-accent: #1678d1;
	--max-width: 1200px;
}

.dt-is-active {
	--bg: #14202d;
	--bg-darker: #0a111a;
	--bg-dark: #070c13;
	--bg-gradient: linear-gradient(135deg, #070c13 0%, #10342d 54%, #14864f 100%);
	--tt: #f7fafc;
	--tt-fade: #9ba8b5;
	--tt-fade-2: #c2ccd6;
	--bdc: rgba(255,255,255,0.10);
	--bdc-dark: rgba(255,255,255,0.14);
	--bsh: 0 16px 42px rgba(0,0,0,0.38);
	--bsh-item: 0 8px 22px rgba(0,0,0,0.20);
	--blue: #78beff;
	--green: #35d983;
	--bg-btn: #22b86d;
	--bg-btn-hover: #19995b;
	--ui-bg: #14202d;
	--ui-bg-darker: #0a111a;
	--ui-bg-darkest: #070c13;
	--ui-bdc: rgba(255,255,255,0.12);
}

html {
	scroll-behavior: smooth;
}

body {
	letter-spacing: 0;
	background: linear-gradient(180deg, #f8fbfc 0%, var(--bg-darker) 36rem);
}

.dt-is-active body,
body.dt-is-active {
	background: linear-gradient(180deg, #0a111a 0%, var(--bg-darker) 36rem);
}

.wrapper::before {
	height: 420px;
	background:
		linear-gradient(135deg, rgba(7,12,19,0.96), rgba(16,52,45,0.92)),
		url(../images/bg.jpg) center / cover no-repeat;
}

.wrapper__container {
	max-width: var(--max-width);
}

button,
.btn,
[type="button"],
[type="reset"],
[type="submit"],
.pmessages__links a,
.qq-upload-button,
.plupload_button {
	height: 42px;
	border-radius: 8px;
	box-shadow: 0 6px 16px rgba(29,187,105,0.16);
}

.btn-without-bg {
	box-shadow: none;
}

.header {
	position: sticky;
	top: 0;
	z-index: 700;
	margin: 0 calc(var(--indent) * -1);
	padding: 12px var(--indent) 0;
}

.header::before {
	content: "";
	position: absolute;
	inset: 0 calc((100% - 100vw)/2) 0;
	height: auto;
	background: linear-gradient(180deg, rgba(8,13,22,0.98), rgba(12,23,34,0.96));
	border-bottom: 1px solid rgba(68,223,138,0.22);
	box-shadow: 0 8px 24px rgba(7,12,19,0.18);
	z-index: -1;
}

.logo {
	height: 56px;
	padding-left: 66px;
	font-size: 18px;
	letter-spacing: 0;
}

.logo::before {
	top: 2px;
	width: 52px;
	height: 52px;
	border-radius: 8px;
	background-color: rgba(255,255,255,0.10);
	background-size: 40px;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
}

.logo__subtitle {
	color: #44df8a;
	font-size: 24px;
	letter-spacing: 1px;
}

.header__caption {
	max-width: 260px;
	border-left-color: rgba(255,255,255,0.16);
	color: rgba(255,255,255,0.68);
}

.search-block {
	width: min(380px, 34vw);
}

.search-block__input,
.search-block__input:focus {
	height: 44px;
	border-radius: 8px;
	background: rgba(255,255,255,0.10);
	border: 1px solid rgba(255,255,255,0.14);
	box-shadow: none;
}

.search-block__btn {
	height: 44px;
	border-radius: 8px;
}

.theme-toggle,
.header__btn-menu,
.header__favlink {
	color: #fff;
}

.theme-toggle,
.header__btn-menu {
	border-radius: 8px;
	background: rgba(255,255,255,0.10);
}

.header__btn-login {
	height: 40px;
	border-radius: 8px;
	background: #ffffff;
	color: #0b111b;
	box-shadow: none;
}

.header__login-panel {
	border: 1px solid var(--bdc);
	border-radius: 8px;
	overflow: hidden;
}

.header__menu {
	gap: 8px;
	width: 100%;
	margin-top: 12px;
	padding: 8px;
	border: 0;
	border-radius: 8px;
	background: rgba(255,255,255,0.08);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.header__menu > li > a {
	height: 42px;
	padding: 0 14px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	text-transform: none;
}

.header__menu > li > a::before {
	color: var(--green);
}

.header__menu-submenu {
	top: 100%;
	width: min(720px, calc(100vw - 40px));
	border: 1px solid var(--bdc);
	border-radius: 8px;
	padding: 22px;
	box-shadow: 0 10px 28px rgba(11,17,27,0.16);
	transition: opacity 0.12s ease, visibility 0.12s ease;
}

.header__menu-submenu a {
	border-radius: 6px;
	padding: 8px 10px;
}

.header__menu-has-submenu {
	padding-bottom: 10px;
	margin-bottom: -10px;
}

.header__menu-has-submenu::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 12px;
}

.hero {
	margin-top: 0;
	margin-bottom: -76px;
	padding-top: 78px;
	padding-bottom: 136px;
	overflow: hidden;
	background:
		linear-gradient(135deg, rgba(7,12,19,0.94), rgba(18,73,61,0.88)),
		url(../images/bg.jpg) center / cover no-repeat;
}

.hero__title {
	max-width: 820px;
	margin-bottom: 20px;
	font-size: clamp(36px, 5vw, 64px);
	line-height: 0.98;
	letter-spacing: 0;
}

.hero__title span {
	margin-left: 0;
	color: #8bf0a7;
}

.hero__title span::before {
	display: none;
}

.hero__text {
	max-width: 640px;
	font-size: 16px;
	line-height: 1.65;
	color: rgba(255,255,255,0.78);
}

.hero--decor .hero__inner::before {
	right: 26px;
	bottom: -300px;
	width: 420px;
	height: 420px;
	background: rgba(29,187,105,0.18);
	box-shadow: none;
}

.hero--decor .hero__inner::after {
	right: 78px;
	bottom: -140px;
	width: 310px;
	height: 310px;
	filter: drop-shadow(0 18px 18px rgba(0,0,0,0.28));
}

.hero__menu {
	gap: 8px;
}

.hero__menu a {
	border-radius: 999px;
	padding: 8px 12px;
	background: rgba(255,255,255,0.12);
	box-shadow: none;
}

.content {
	padding-top: 8px;
}

.sect {
	margin-bottom: 44px;
}

.sect__header {
	margin-bottom: 18px;
}

.sect__title {
	font-size: 28px;
	line-height: 1.15;
	letter-spacing: 0;
}

.sect__link {
	color: var(--green);
	font-weight: 700;
}

.sect--white,
.site-desc,
.page__cols-main,
.item,
.login,
.ac-form,
.comm {
	border: 1px solid var(--bdc);
	border-radius: 8px;
	box-shadow: var(--bsh-item);
}

.sect--bg {
	padding-top: 34px;
	padding-bottom: 34px;
	background:
		linear-gradient(135deg, rgba(7,12,19,0.95), rgba(18,73,61,0.82)),
		url(../images/bg.jpg) center / cover no-repeat;
	background-blend-mode: normal;
}

.d-grid-items,
.d-grid-items-5 {
	gap: 18px;
	grid-template-columns: repeat(auto-fill,minmax(190px,1fr));
}

.d-grid-items-3,
.d-grid-items-4 {
	gap: 18px;
}

.item {
	overflow: hidden;
	background: var(--bg);
}

.item-card {
	padding: 14px;
	padding-top: 48px;
	text-align: left;
}

.item-card .item__img {
	width: 88px;
	max-width: 88px;
	margin: 0 auto 16px;
	border: 0;
	border-radius: 8px;
	box-shadow: 0 0 0 1px var(--bdc);
	overflow: hidden;
}

.item-card .item__title {
	min-height: 44px;
	margin: 0 0 8px;
	font-size: 16px;
	line-height: 1.35;
}

.item__category {
	font-size: 12px;
	text-transform: none;
	color: var(--green);
}

.item-card .item__meta {
	margin: 14px -14px -14px;
	padding: 12px 14px;
	border-top: 1px solid var(--bdc);
	background: var(--bg-darker);
}

.item__label,
.item-card .item__label {
	width: auto;
	min-width: 42px;
	height: 24px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--green);
	font-size: 11px;
	font-weight: 700;
}

.item-card .item__labels-group {
	top: 14px;
	left: 14px;
}

.item__rating {
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: #0b111b;
	color: #fff;
}

.item-card .item__rating {
	display: none;
}

.item-short {
	padding: 14px;
	border-radius: 8px;
}

.item-short .item__img {
	border-radius: 8px;
	border: 0;
	box-shadow: 0 0 0 1px var(--bdc);
}

.item-short .item__meta {
	border-top: 1px solid var(--bdc);
}

.item-ext {
	border-radius: 8px;
}

.item-ext .item__poster::before {
	background: linear-gradient(180deg, transparent 25%, rgba(7,12,19,0.78));
}

.item-ext__bottom {
	padding: 16px;
}

.scroller__content {
	gap: 18px;
	padding-bottom: 2px;
}

.scroller__btn {
	border-radius: 8px;
	background: rgba(255,255,255,0.14);
	color: #fff;
	box-shadow: none;
}

.pagination a,
.pagination span {
	border-radius: 8px;
}

.pagination__btn-loader a,
.pagination__btn-loader span {
	border-radius: 8px;
}

.site-desc {
	padding-top: 38px;
	padding-bottom: 38px;
	line-height: 1.75;
}

.site-desc .sect__title {
	font-size: clamp(28px, 4vw, 44px);
}

.site-desc ul li::before {
	color: var(--green);
}

.sect-desc__img {
	border: 0;
	border-radius: 8px;
	box-shadow: var(--bsh-item);
}

.page__cols {
	gap: 22px;
}

.page__cols-main {
	padding: 24px;
	background: var(--bg);
}

.page__header {
	gap: 22px;
}

.page__img {
	border-radius: 8px;
	box-shadow: var(--bsh-item);
}

.page__header-title h1 {
	font-size: clamp(30px, 4vw, 48px);
	line-height: 1.04;
	letter-spacing: 0;
}

.page__list {
	gap: 12px;
}

.page__list li {
	padding: 10px 150px 10px 42px;
	border-radius: 8px;
	background: var(--bg-darker);
}

.page__list li::before {
	left: 14px;
	top: 13px;
	color: var(--green);
}

.page__list li > span:first-child {
	left: auto;
	right: 16px;
	color: var(--tt-fade);
	font-size: 12px;
	text-transform: uppercase;
}

.page__btn-dl,
.page--dl .page__btn-dl2 {
	height: 48px;
	width: 190px;
}

.page__header-ctrl > a:not([class]) {
	height: 48px;
	border-radius: 8px;
}

.page__rating a {
	border-radius: 8px;
}

.page__rating-score {
	border-radius: 8px;
	background: var(--bg-darker);
}

.page__rating-score-value::after {
	background-color: var(--bg-darker);
}

.page__fav a {
	border-radius: 0 0 8px 8px;
}

@media screen and (min-width: 951px) {
	.page:not(.page--dl) .page__header {
		grid-template-columns: 220px minmax(0,1fr);
		grid-template-areas:
			"pleft ptitle"
			"pleft pinfo"
			"pctrl pctrl";
		align-items: start;
		gap: 16px 24px;
		padding: 20px;
		border: 1px solid var(--bdc);
		border-radius: 8px;
		background:
			linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,255,255,0.72)),
			linear-gradient(135deg, rgba(29,187,105,0.08), transparent 55%);
	}

	.page:not(.page--dl) .page__img {
		width: 220px;
		height: 220px;
	}

	.page:not(.page--dl) .page__header-title h1 {
		max-width: 820px;
		font-size: clamp(32px, 3vw, 42px);
		line-height: 1.06;
	}

	.page:not(.page--dl) .page__header-info {
		display: grid;
		grid-template-columns: minmax(0,1fr) 180px;
		gap: 12px;
	}

	.page:not(.page--dl) .page__list {
		display: grid;
		grid-template-columns: repeat(2,minmax(0,1fr));
		grid-column: 1 / -1;
		gap: 10px;
	}

	.page:not(.page--dl) .page__list li {
		display: grid;
		grid-template-columns: 28px minmax(0,1fr);
		grid-template-rows: auto auto;
		align-items: start;
		min-height: 62px;
		padding: 10px 14px;
		text-align: left;
		background: var(--bg);
		border: 1px solid var(--bdc);
		box-shadow: none;
	}

	.page:not(.page--dl) .page__list li::before {
		position: static;
		grid-column: 1;
		grid-row: 1 / span 2;
		margin-top: 4px;
		font-size: 18px;
	}

	.page:not(.page--dl) .page__list li > span:first-child {
		position: static;
		grid-column: 2;
		grid-row: 1;
		margin-bottom: 2px;
		color: var(--tt-fade);
		font-size: 11px;
		font-weight: 700;
		letter-spacing: 0;
		text-transform: uppercase;
	}

	.page:not(.page--dl) .page__list li > span:last-child,
	.page:not(.page--dl) .page__list li > a {
		grid-column: 2;
		grid-row: 2;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font-size: 16px;
	}

	.page:not(.page--dl) .page__rating-score {
		position: static;
		grid-column: 1;
		display: flex;
		align-items: center;
		gap: 16px;
		min-height: 62px;
		width: auto;
		height: auto;
		padding: 10px 14px;
		border: 1px solid var(--bdc);
		background: var(--bg);
		box-shadow: none;
	}

	.page:not(.page--dl) .page__rating-score-value {
		width: 48px;
		height: 48px;
		margin: 0;
		font-size: 20px;
		order: -1;
	}

	.page:not(.page--dl) .page__rating-score-caption {
		font-size: 12px;
		text-align: left;
	}

	.page:not(.page--dl) .page__fav {
		grid-column: 2;
	}

	.page:not(.page--dl) .page__fav a {
		position: static;
		width: auto;
		height: 62px;
		padding: 0 10px;
		border: 1px solid var(--bdc);
		border-radius: 8px;
		background: var(--bg);
	}

	.page:not(.page--dl) .page__header-ctrl {
		align-items: center;
		margin-top: 2px;
		gap: 14px;
	}

	.page:not(.page--dl) .page__btn-dl {
		width: 220px;
		height: 50px;
	}
}

.page__scr {
	border-radius: 8px;
	background: var(--bg-darker);
}

.page__scr a img,
.page__scr a::before {
	border-radius: 8px;
}

.page__message {
	border-radius: 8px;
	border-left-width: 4px;
}

.page__dl-content {
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(7,12,19,0.94), rgba(18,73,61,0.86)),
		url(../images/bg.jpg) center / cover no-repeat;
}

.dl,
.download-button,
.fdl-neww,
.telegram-btn,
.subscribe-button,
.fact-timer-block {
	border-radius: 8px !important;
}

.download-button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid var(--bdc);
	background: var(--bg) !important;
	color: var(--tt) !important;
	box-shadow: 0 6px 16px rgba(11,17,27,0.06) !important;
}

.download-button .icon-d {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	background: rgba(29,187,105,0.12);
}

.download-button .icon-d svg {
	stroke: var(--green);
}

.download-button .title-d {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.download-button .size-d {
	color: var(--tt-fade);
	white-space: nowrap;
}

.subscribe-button,
.telegram-btn {
	background: linear-gradient(135deg, #168bd7, #1dbb69) !important;
	box-shadow: 0 8px 18px rgba(22,139,215,0.18) !important;
}

.custom-tag {
	border-radius: 999px;
	background: var(--bg-darker);
	border-color: var(--bdc);
	box-shadow: none;
}

.full-text h1,
.full-text h2,
.full-text h3,
.full-text h4,
.full-text h5 {
	letter-spacing: 0;
}

.footer {
	margin-top: 20px;
	background:
		linear-gradient(135deg, #0b111b, #123c36);
}

.footer__one {
	padding-top: 16px;
}

.footer__menu a {
	color: rgba(255,255,255,0.82);
}

.footer__soc-item {
	border-radius: 8px;
}

.mobile-menu {
	box-shadow: 12px 0 32px rgba(0,0,0,0.22);
}

.mobile-menu__header {
	background: var(--bg-gradient);
}

.mobile-menu__content .header__menu {
	border-radius: 0;
	box-shadow: none;
	background: none;
}

.mobile-menu__content .header__menu > li > a {
	border-radius: 0;
}

.mobile-menu__content .header__menu-submenu {
	border: 0;
	border-radius: 0;
}

@media (hover: hover) and (pointer: fine) {
	.header__menu > li > a:hover {
		background: rgba(255,255,255,0.12);
		color: #fff;
	}

	.header__menu-submenu a:hover,
	.hero__menu a:hover,
	.pagination a:hover {
		background-color: var(--green);
		color: #fff;
	}

	.item:hover {
		box-shadow: 0 10px 26px rgba(11,17,27,0.12);
	}

	.item:hover .item__img {
		border-color: transparent;
		box-shadow: 0 0 0 2px var(--green);
	}

	.download-button:hover {
		background: var(--bg-darker) !important;
	}

	.sect__link:hover {
		color: var(--green);
		text-decoration: underline;
	}
}

@media screen and (max-width: 1220px) {
	.header::before {
		height: auto;
	}

	.header__search {
		margin: 10px 0 16px;
	}

	.search-block {
		width: 100%;
	}

	.header__btn-login {
		background-color: rgba(255,255,255,0.12);
		color: #fff;
	}
}

@media screen and (max-width: 760px) {
	.header {
		padding-top: 10px;
	}

	.header::before {
		height: auto;
	}

	.logo {
		padding-left: 58px;
	}

	.logo::before {
		width: 48px;
		height: 48px;
		background-size: 36px;
	}

	.hero {
		padding-top: 48px;
		padding-bottom: 104px;
		margin-bottom: -62px;
	}

	.hero__title {
		font-size: 34px;
		line-height: 1.04;
	}

	.hero__text {
		font-size: 14px;
		line-height: 1.55;
	}

	.sect__title {
		min-width: 0;
		font-size: 24px;
	}

	.d-grid-items,
	.d-grid-items-5 {
		grid-template-columns: repeat(auto-fill,minmax(146px,1fr));
		gap: 12px;
	}

	.item-card {
		padding: 12px;
		padding-top: 44px;
	}

	.item-card .item__img {
		width: 74px;
		max-width: 74px;
		margin: 0 auto 12px;
	}

	.item-card .item__title {
		min-height: 40px;
		font-size: 14px;
	}

	.item-card .item__meta {
		margin: 12px -12px -12px;
		padding: 10px 12px;
	}

	.page__list li {
		padding: 10px 12px 10px 38px;
		text-align: left;
	}

	.page__list li > span:first-child {
		position: static;
		display: block;
		margin-bottom: 2px;
	}

	.page__rating-score,
	.page__fav a {
		width: calc(100vw - 190px);
	}

	.page:not(.page--dl) .page__header {
		display: grid;
		grid-template-columns: minmax(0,1fr);
		grid-template-areas:
			"ptitle"
			"pleft"
			"pinfo"
			"pctrl";
		gap: 16px;
		padding: 16px;
		border: 1px solid var(--bdc);
		border-radius: 8px;
		background: var(--bg);
	}

	.page:not(.page--dl) .page__header-title h1 {
		font-size: clamp(26px, 8vw, 34px);
		line-height: 1.08;
	}

	.page:not(.page--dl) .page__img {
		width: min(220px, 72vw);
		height: min(220px, 72vw);
		margin: 0 auto;
	}

	.page:not(.page--dl) .page__header-info {
		display: grid;
		gap: 12px;
	}

	.page:not(.page--dl) .page__list {
		display: grid;
		gap: 10px;
	}

	.page:not(.page--dl) .page__list li {
		display: grid;
		grid-template-columns: 24px minmax(0,1fr);
		grid-template-rows: auto auto;
		min-height: 64px;
		padding: 12px 14px;
	}

	.page:not(.page--dl) .page__list li::before {
		position: static;
		grid-column: 1;
		grid-row: 1 / span 2;
		margin-top: 4px;
	}

	.page:not(.page--dl) .page__list li > span:first-child {
		grid-column: 2;
		grid-row: 1;
		margin-bottom: 2px;
		font-size: 11px;
		font-weight: 700;
		text-transform: uppercase;
	}

	.page:not(.page--dl) .page__list li > span:last-child,
	.page:not(.page--dl) .page__list li > a {
		grid-column: 2;
		grid-row: 2;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.page:not(.page--dl) .page__rating-score {
		position: static;
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: auto;
		height: auto;
		padding: 12px 14px;
	}

	.page:not(.page--dl) .page__rating-score-caption {
		display: block;
		text-align: left;
	}

	.page:not(.page--dl) .page__rating-score-value {
		width: 54px;
		height: 54px;
		margin: 0;
	}

	.page:not(.page--dl) .page__fav a {
		position: static;
		width: 100%;
		border: 1px solid var(--bdc);
		border-radius: 8px;
	}

	.page:not(.page--dl) .page__header-ctrl {
		display: grid;
		grid-template-columns: 1fr;
	}

	.page:not(.page--dl) .page__btn-dl,
	.page:not(.page--dl) .page__header-ctrl > a:not([class]) {
		width: 100%;
	}

	.download-button {
		padding: 12px;
	}
}

@media screen and (max-width: 470px) {
	.header::before {
		height: auto;
	}

	.header__btn-menu,
	.header__btn-login,
	.theme-toggle,
	.header__login-img {
		margin-left: 8px;
	}

	.logo__subtitle {
		font-size: 18px;
		margin-top: 6px;
	}

	.hero__title {
		font-size: 30px;
	}

	.d-grid-items,
	.d-grid-items-5 {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}

	.page__cols-main {
		border-radius: 0;
	}

	.download-button .title-d {
		white-space: normal;
	}
}


/* Page fixes: download fields, mobile rating and dark cards */
@media screen and (min-width: 951px) {
	.page--dl .page__header-info {
		display: block;
	}

	.page--dl .page__list {
		display: grid;
		gap: 12px;
	}

	.page--dl .page__list li {
		display: grid;
		grid-template-columns: 28px 110px minmax(0,1fr);
		align-items: center;
		min-height: 52px;
		padding: 10px 16px;
		text-align: left;
	}

	.page--dl .page__list li::before {
		position: static;
		grid-column: 1;
		margin-top: 0;
	}

	.page--dl .page__list li > span:first-child {
		position: static;
		grid-column: 2;
		grid-row: auto;
		margin: 0;
		font-size: 11px;
		font-weight: 700;
		text-transform: uppercase;
	}

	.page--dl .page__list li > span:last-child,
	.page--dl .page__list li > a {
		grid-column: 3;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font-size: 16px;
	}
}

.dt-is-active .page:not(.page--dl) .page__header,
.dt-is-active .page:not(.page--dl) .page__list li,
.dt-is-active .page:not(.page--dl) .page__rating-score,
.dt-is-active .page:not(.page--dl) .page__fav a,
.dt-is-active .page__cols-main {
	background: var(--bg);
	border-color: var(--bdc);
}

.dt-is-active .page:not(.page--dl) .page__list li,
.dt-is-active .page:not(.page--dl) .page__rating-score {
	background: #101b28;
}

@media screen and (max-width: 760px) {
	.page:not(.page--dl) .page__rating-stars {
		position: static;
		display: block;
		width: 100%;
		margin: 0;
		padding: 10px 0 0;
		text-align: center;
	}

	.page:not(.page--dl) .page__rating-stars .rating,
	.page:not(.page--dl) .page__rating-stars ul,
	.page:not(.page--dl) .page__rating-stars form,
	.page:not(.page--dl) .page__rating-stars .unit-rating {
		justify-content: center;
		margin-left: auto;
		margin-right: auto;
	}

	.page:not(.page--dl) .page__rating-votes {
		position: static;
		display: block;
		margin-bottom: 6px;
		text-align: center;
	}
}


/* Comments refresh */
.page__comments {
	display: grid;
	gap: 14px;
}

.page__comments-title {
	margin-bottom: 4px;
}

.comm {
	display: grid;
	grid-template-columns: minmax(0,1fr);
	gap: 12px;
	padding: 16px;
	border: 1px solid var(--bdc);
	border-radius: 8px;
	background: var(--bg);
	box-shadow: none;
}

.comm__header {
	display: grid;
	grid-template-columns: 48px minmax(0,1fr) auto;
	gap: 12px;
	align-items: center;
}

.comm__img {
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 8px;
	box-shadow: 0 0 0 1px var(--bdc);
	overflow: visible;
}

.comm__img::before {
	right: -3px;
	top: -3px;
	width: 10px;
	height: 10px;
	border: 2px solid var(--bg);
}

.comm__author {
	font-size: 16px;
	line-height: 1.2;
}

.comm__date {
	margin-top: 3px;
	font-size: 13px;
}

.comm__rating {
	display: inline-flex;
	gap: 8px;
	padding: 7px 10px;
	border-radius: 8px;
	background: var(--bg-darker);
	font-size: 13px;
}

.comm__rating::before {
	content: attr(data-text);
	margin-right: 2px;
	color: var(--tt-fade-2);
}

.comm__main {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
}

.comm__footer {
	display: grid;
	grid-template-columns: minmax(0,1fr) auto;
	gap: 12px;
	padding-top: 10px;
	border-top: 1px solid var(--bdc);
}

.comm__action,
.comm__ctrl {
	gap: 12px;
}

.comm__action li,
.comm__action a,
.comm__ctrl li,
.comm__ctrl a,
.comm__ctrl span {
	color: var(--tt-fade);
	font-size: 13px;
}

.comm__ctrl {
	justify-content: flex-end;
}

.comm__ctrl li:first-child {
	max-width: 160px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dt-is-active .comm,
.dt-is-active .comm__rating {
	background: #101b28;
	border-color: var(--bdc);
}

.dt-is-active .comm__footer {
	border-top-color: var(--bdc);
}

@media screen and (max-width: 760px) {
	.comm {
		padding: 14px;
	}

	.comm__header {
		grid-template-columns: 44px minmax(0,1fr);
	}

	.comm__img {
		width: 44px;
		height: 44px;
	}

	.comm__rating {
		grid-column: 1 / -1;
		justify-self: start;
	}

	.comm__footer {
		grid-template-columns: minmax(0,1fr);
	}

	.comm__action,
	.comm__ctrl {
		justify-content: flex-start;
	}

	.comm__ctrl {
		padding-top: 4px;
	}
}
