body.tpl-classic {
	--tpl-accent: #ff2a14;
	--tpl-accent-soft: rgba(255, 42, 20, .1);
	--tpl-surface: #fff;
	--tpl-surface-alt: #f7f8fa;
	--tpl-border: rgba(40, 40, 40, .08);
}

body.palette-clean {
	--tpl-accent: #2563eb;
	--tpl-accent-soft: rgba(37, 99, 235, .1);
	--tpl-surface: #fff;
	--tpl-surface-alt: #f6f8fb;
	--tpl-border: rgba(15, 23, 42, .09);
}

body.palette-teal {
	--tpl-accent: #00897b;
	--tpl-accent-soft: rgba(0, 137, 123, .11);
	--tpl-surface: #fbfefd;
	--tpl-surface-alt: #edf8f6;
	--tpl-border: rgba(0, 97, 87, .13);
}

body.palette-forest {
	--tpl-accent: #2f7d32;
	--tpl-accent-soft: rgba(47, 125, 50, .12);
	--tpl-surface: #fdfefb;
	--tpl-surface-alt: #f0f6ed;
	--tpl-border: rgba(47, 91, 51, .14);
}

body.palette-rose {
	--tpl-accent: #c2415d;
	--tpl-accent-soft: rgba(194, 65, 93, .11);
	--tpl-surface: #fffafa;
	--tpl-surface-alt: #fff1f4;
	--tpl-border: rgba(150, 42, 66, .13);
}

body.tpl-focus,
body.tpl-catalog,
body.tpl-rank {
	background: var(--tpl-surface-alt);
}

body.tpl-focus a:hover,
body.tpl-catalog a:hover,
body.tpl-rank a:hover,
body.tpl-focus .important,
body.tpl-catalog .important,
body.tpl-rank .important {
	color: var(--tpl-accent);
}

body.tpl-focus .btn-important,
body.tpl-catalog .btn-important,
body.tpl-rank .btn-important,
body.tpl-focus .page-number.page-current,
body.tpl-catalog .page-number.page-current,
body.tpl-rank .page-number.page-current {
	background: var(--tpl-accent);
}

body.tpl-focus .header-content.header-bg,
body.tpl-catalog .header-content.header-bg,
body.tpl-rank .header-content.header-bg {
	box-shadow: 0 8px 26px rgba(0, 0, 0, .06);
}

body.tpl-focus .content,
body.tpl-catalog .content,
body.tpl-rank .content {
	max-width: 1240px;
}

body.tpl-focus #index-main > .content,
body.tpl-catalog #index-main > .content,
body.tpl-rank #index-main > .content,
body.tpl-focus #main > .content,
body.tpl-catalog #main > .content,
body.tpl-rank #main > .content {
	padding-left: 18px;
	padding-right: 18px;
}

body.tpl-focus #index-main .content > .module:first-child {
	padding: 22px;
	margin: 8px 0 26px;
	background: var(--tpl-surface);
	border: 1px solid var(--tpl-border);
	border-radius: 6px;
}

.tpl-board,
.tpl-page-intro,
.tpl-detail-panel,
.tpl-player-note {
	margin: 12px 0 22px;
	padding: 16px 18px;
	background: var(--tpl-surface);
	border: 1px solid var(--tpl-border);
	border-radius: 6px;
}

.tpl-board-title,
.tpl-page-intro strong,
.tpl-detail-panel strong,
.tpl-player-note strong {
	display: block;
	margin-bottom: 10px;
	font-size: 18px;
	font-weight: 700;
	color: #202020;
}

.tpl-page-intro span,
.tpl-detail-panel span,
.tpl-player-note span {
	display: block;
	color: #666;
	line-height: 1.8;
}

.tpl-board-links {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px 12px;
}

.tpl-board-links a {
	display: block;
	padding: 10px 12px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	background: var(--tpl-surface-alt);
	border: 1px solid var(--tpl-border);
	border-radius: 4px;
}

.tpl-board-links a span {
	display: inline-block;
	min-width: 22px;
	margin-right: 6px;
	color: var(--tpl-accent);
	font-weight: 700;
}

.tpl-board-focus {
	border-left: 5px solid var(--tpl-accent);
}

.tpl-board-catalog .tpl-board-links {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.tpl-board-rank {
	background: linear-gradient(180deg, var(--tpl-surface), var(--tpl-surface-alt));
}

body.tpl-focus #index-main .content > .module:first-child .module-items {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 18px;
}

body.tpl-focus #index-main .content > .module:first-child .module-item:first-child,
body.tpl-focus #index-main .content > .module:first-child .module-item:nth-child(2) {
	grid-column: span 2;
}

body.tpl-focus #index-main .content > .module:first-child .module-item:first-child .module-item-title,
body.tpl-focus #index-main .content > .module:first-child .module-item:nth-child(2) .module-item-title {
	font-size: 18px;
}

body.tpl-catalog .module-wrapper {
	display: block;
	padding: 18px;
	margin-bottom: 22px;
	background: var(--tpl-surface);
	border: 1px solid var(--tpl-border);
	border-radius: 6px;
}

body.tpl-catalog .module-main {
	width: 100%;
}

body.tpl-catalog .module-side {
	width: 100%;
	margin: 14px 0 0;
}

body.tpl-catalog .module-side .module-textlist {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

body.tpl-catalog .module-side .text-list-item {
	margin: 0;
	border: 1px solid var(--tpl-border);
	background: var(--tpl-surface-alt);
}

body.tpl-rank .module-wrapper {
	flex-direction: row-reverse;
	align-items: flex-start;
}

body.tpl-rank .module-main {
	width: calc(100% - 280px);
}

body.tpl-rank .module-side {
	width: 260px;
	margin-left: 0;
	margin-right: 24px;
	position: sticky;
	top: 76px;
}

body.tpl-rank .module-side-list {
	border: 1px solid var(--tpl-border);
	background: var(--tpl-surface);
}

body.tpl-rank .text-list-item:nth-child(-n+3) .text-list-num,
body.tpl-catalog .block-box-item.selected,
body.tpl-focus .block-box-item.selected {
	background: var(--tpl-accent);
}

body.tpl-focus .module-item-cover,
body.tpl-catalog .module-item-cover,
body.tpl-rank .module-item-cover {
	border-radius: 6px;
	box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

body.tpl-catalog.library .page-heading .box,
body.tpl-rank.library .page-heading .box,
body.tpl-focus.library .page-heading .box {
	background: var(--tpl-surface);
	border: 1px solid var(--tpl-border);
	border-radius: 6px;
	padding: 12px 14px;
}

body.tpl-catalog.library .module-items,
body.tpl-rank.library .module-items {
	gap: 18px 14px;
}

body.tpl-catalog.library .module-item,
body.tpl-rank.library .module-item {
	padding: 10px;
	background: var(--tpl-surface);
	border: 1px solid var(--tpl-border);
	border-radius: 6px;
}

body.tpl-rank.library .module-items {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
}

body.tpl-focus.view .view-heading {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 26px;
	padding: 24px;
	background: var(--tpl-surface);
	border: 1px solid var(--tpl-border);
	border-radius: 6px;
}

body.tpl-catalog.view .view-heading {
	flex-direction: row-reverse;
	padding: 20px;
	background: var(--tpl-surface);
	border: 1px solid var(--tpl-border);
	border-radius: 6px;
}

body.tpl-rank.view .view-heading {
	align-items: stretch;
	background: var(--tpl-surface);
	border-left: 5px solid var(--tpl-accent);
	padding: 20px;
}

body.tpl-focus.view .video-cover,
body.tpl-catalog.view .video-cover,
body.tpl-rank.view .video-cover {
	width: auto;
}

body.tpl-focus.view .video-info,
body.tpl-catalog.view .video-info,
body.tpl-rank.view .video-info {
	background: transparent;
}

body.tpl-focus.play .player-block,
body.tpl-catalog.play .player-block,
body.tpl-rank.play .player-block {
	background: #111827;
}

body.tpl-catalog.play .tab2,
body.tpl-rank.play .tab2,
body.tpl-focus.play .tab2 {
	background: var(--tpl-surface);
	border: 1px solid var(--tpl-border);
	border-radius: 6px;
	padding: 12px;
}

body.tpl-rank.play .module:nth-of-type(2) .module-items,
body.tpl-focus.play .module:nth-of-type(2) .module-items {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
}

.tpl-headline,
.tpl-flow-panel,
.tpl-list-rankbar,
.tpl-search-suggest,
.tpl-foot-links {
	background: var(--tpl-surface);
	border: 1px solid var(--tpl-border);
	border-radius: 6px;
}

.tpl-headline {
	margin: 10px auto 0;
	max-width: 1240px;
	padding: 9px 16px;
	line-height: 1.6;
}

.tpl-headline a {
	display: inline-block;
	margin-right: 18px;
	color: #333;
	white-space: nowrap;
}

.tpl-headline span {
	color: var(--tpl-accent);
	font-weight: 700;
}

.tpl-headline-center {
	text-align: center;
}

.tpl-headline-center a {
	font-size: 18px;
	font-weight: 700;
}

.tpl-headline-nav,
.tpl-headline-quick,
.tpl-headline-compact {
	display: flex;
	gap: 12px;
	overflow: hidden;
}

.tpl-headline-nav a,
.tpl-headline-quick a,
.tpl-headline-compact a {
	margin-right: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tpl-headline-nav {
	justify-content: center;
	background: var(--tpl-surface-alt);
}

.tpl-headline-quick a {
	flex: 1 1 0;
	padding: 0 10px;
	border-left: 3px solid var(--tpl-accent);
}

.tpl-headline-compact {
	justify-content: flex-end;
	padding-top: 6px;
	padding-bottom: 6px;
}

body.head-center .brand,
body.head-center .nav-search {
	float: none;
	text-align: center;
}

body.head-center .nav-search {
	max-width: 520px;
	margin: 8px auto 0;
}

body.head-navfirst .nav {
	float: left;
	margin-left: 0;
}

body.head-navfirst .brand {
	float: right;
}

body.head-quick .header-module {
	border-left: 1px solid var(--tpl-border);
}

body.head-compact .header-content .content {
	min-height: 52px;
}

body.head-compact .logo {
	font-size: 19px;
}

.tpl-flow-panel {
	margin: 12px 0 22px;
	padding: 16px 18px;
}

.tpl-flow-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 10px;
}

.tpl-flow-grid a {
	display: block;
	min-height: 72px;
	padding: 12px;
	overflow: hidden;
	background: var(--tpl-surface-alt);
	border: 1px solid var(--tpl-border);
	border-radius: 4px;
}

.tpl-flow-grid strong,
.tpl-flow-grid span {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tpl-flow-grid strong {
	color: #252525;
}

.tpl-flow-grid span {
	margin-top: 8px;
	color: #777;
}

body.flow-rank .tpl-flow-panel {
	border-left: 5px solid var(--tpl-accent);
}

body.flow-catalog .tpl-flow-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.flow-mixed .tpl-flow-grid a:nth-child(2n) {
	background: #f3f7fb;
}

.tpl-list-rankbar,
.tpl-search-suggest,
.tpl-foot-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 18px;
	padding: 12px 14px;
}

.tpl-list-rankbar a,
.tpl-search-suggest a,
.tpl-foot-links a {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	padding: 7px 10px;
	overflow: hidden;
	color: #333;
	text-overflow: ellipsis;
	white-space: nowrap;
	background: var(--tpl-surface-alt);
	border-radius: 4px;
}

.tpl-list-rankbar span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-right: 7px;
	color: #fff;
	background: var(--tpl-accent);
	border-radius: 50%;
}

.tpl-detail-catalog {
	display: flex;
	gap: 10px;
}

.tpl-detail-catalog a {
	padding: 8px 12px;
	background: var(--tpl-surface-alt);
	border-radius: 4px;
}

body.card-compact .module-items {
	gap: 12px 10px;
}

body.card-compact .module-item-titlebox,
body.card-compact .module-item-text {
	margin-top: 5px;
}

body.card-compact .module-item-caption,
body.card-compact .module-item-content {
	display: none;
}

body.card-media.library .module-items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.card-media.library .module-item {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 10px;
	min-height: 132px;
}

body.card-media.library .module-item-cover {
	width: 92px;
}

body.card-media.library .module-item-titlebox,
body.card-media.library .module-item-text {
	grid-column: 2;
}

body.card-rank .module-item {
	position: relative;
}

body.card-rank .module-item:before {
	content: counter(cardrank);
	counter-increment: cardrank;
	position: absolute;
	z-index: 2;
	top: 8px;
	left: 8px;
	min-width: 24px;
	height: 24px;
	padding: 0 6px;
	color: #fff;
	line-height: 24px;
	text-align: center;
	background: var(--tpl-accent);
	border-radius: 4px;
}

body.card-rank .module-items {
	counter-reset: cardrank;
}

body.card-poster .module-item-cover {
	border-radius: 0;
}

body.card-poster .module-item-title {
	font-weight: 700;
}

body.density-air .module,
body.density-air .module-wrapper,
body.density-air .tpl-board,
body.density-air .tpl-flow-panel {
	margin-bottom: 30px;
}

body.density-air .module-items {
	gap: 22px 18px;
}

body.density-dense .module,
body.density-dense .module-wrapper,
body.density-dense .tpl-board,
body.density-dense .tpl-flow-panel {
	margin-bottom: 14px;
}

body.density-dense .module-heading {
	margin-bottom: 10px;
}

body.density-dense .module-items {
	gap: 10px 8px;
}

body.density-dense .module-item-text,
body.density-dense .video-tag,
body.density-dense .video-text {
	display: none;
}

.tpl-seo-summary {
	margin: 12px 0 20px;
	padding: 14px 16px;
	background: var(--tpl-surface);
	border: 1px solid var(--tpl-border);
	border-radius: 6px;
}

.tpl-seo-summary strong {
	display: block;
	margin-bottom: 6px;
	font-size: 17px;
	line-height: 1.4;
	color: #202020;
}

.tpl-seo-summary span {
	display: block;
	color: #666;
	line-height: 1.8;
}

.tpl-seo-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.tpl-seo-links a {
	display: inline-flex;
	align-items: center;
	max-width: 220px;
	min-height: 32px;
	padding: 6px 10px;
	overflow: hidden;
	color: #444;
	text-overflow: ellipsis;
	white-space: nowrap;
	background: var(--tpl-surface-alt);
	border: 1px solid var(--tpl-border);
	border-radius: 4px;
}

.tpl-seo-links a:hover {
	color: var(--tpl-accent);
	border-color: var(--tpl-accent);
}

body.seo-fresh .tpl-seo-summary {
	border-left: 4px solid var(--tpl-accent);
}

body.seo-rank .tpl-seo-links a:first-child,
body.seo-catalog .tpl-seo-summary strong {
	color: var(--tpl-accent);
}

.tpl-index-feed,
.tpl-category-stack,
.tpl-related {
	position: relative;
}

.tpl-index-feed .module-heading,
.tpl-category-stack .module-heading,
.tpl-related .module-heading {
	align-items: center;
}

.tpl-index-feed-fresh {
	border-left: 4px solid var(--tpl-accent);
}

.tpl-index-feed-fresh .module-items,
.tpl-index-feed-rank .module-main .module-items,
.tpl-related-detail-fresh .module-items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px 12px;
}

.tpl-index-feed-fresh .module-item,
.tpl-index-feed-rank .module-main .module-item,
.tpl-related-detail-fresh .module-item {
	display: block;
	float: none;
	width: 100%;
	box-sizing: border-box;
}

.tpl-index-feed-rank {
	display: flex;
	gap: 22px;
	padding: 18px;
	background: var(--tpl-surface);
	border: 1px solid var(--tpl-border);
	border-radius: 6px;
}

.tpl-index-feed-rank .module-main {
	width: calc(100% - 300px);
}

.tpl-index-feed-rank .module-side {
	width: 280px;
	margin: 0;
	position: static;
}

.tpl-index-feed-catalog,
.tpl-index-feed-mixed {
	padding: 18px;
	background: var(--tpl-surface);
	border: 1px solid var(--tpl-border);
	border-radius: 6px;
}

.tpl-index-feed-mixed {
	background: linear-gradient(180deg, var(--tpl-surface), var(--tpl-surface-alt));
}

.tpl-category-fresh .module-items {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
}

.tpl-category-fresh .module-item {
	display: block;
	width: 100%;
}

.tpl-category-rank {
	padding: 16px;
	background: var(--tpl-surface);
	border: 1px solid var(--tpl-border);
	border-radius: 6px;
}

.tpl-category-rank .tpl-rank-list,
.tpl-related .tpl-rank-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.tpl-category-rank .text-list-item,
.tpl-related .tpl-rank-list .text-list-item {
	margin: 0;
	background: var(--tpl-surface-alt);
	border: 1px solid var(--tpl-border);
}

.tpl-category-catalog .module-items,
.tpl-index-feed-mixed .module-items,
.tpl-category-mixed .module-items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px 12px;
}

.tpl-category-catalog .module-item,
.tpl-index-feed-mixed .module-item,
.tpl-category-mixed .module-item {
	display: block;
	float: none;
	width: 100%;
	box-sizing: border-box;
}

.tpl-related-detail-mixed .module-items,
.tpl-related-play-mixed .module-items {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px 12px;
}

.tpl-related-detail-mixed .module-item,
.tpl-related-play-mixed .module-item {
	display: block;
	float: none;
	width: 100%;
	box-sizing: border-box;
}

.tpl-module-links {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.tpl-module-links a,
.tpl-related-note a {
	display: block;
	min-width: 0;
	padding: 13px 14px;
	overflow: hidden;
	background: var(--tpl-surface-alt);
	border: 1px solid var(--tpl-border);
	border-radius: 6px;
}

.tpl-module-links strong,
.tpl-related-note strong {
	display: block;
	overflow: hidden;
	color: #222;
	font-size: 15px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tpl-module-links span,
.tpl-related-note span {
	display: block;
	margin-top: 4px;
	overflow: hidden;
	color: #777;
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tpl-module-links a:hover,
.tpl-related-note a:hover {
	border-color: var(--tpl-accent);
}

.tpl-module-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 20px;
	align-items: start;
}

.tpl-module-split .module-list {
	min-width: 0;
}

.tpl-related {
	padding: 16px;
	background: var(--tpl-surface);
	border: 1px solid var(--tpl-border);
	border-radius: 6px;
}

.tpl-related-rank .module-side-list,
.tpl-related-play-rank .module-side-list {
	border: 0;
	background: transparent;
}

.tpl-related-play {
	margin-top: 18px;
}

body.play.module-fresh .module.tpl-related-play-fresh .module-items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

body.play.module-fresh .module.tpl-related-play-fresh .module-item {
	display: block;
	float: none;
	width: 100%;
	box-sizing: border-box;
}

.tpl-related-play-catalog .tpl-module-links {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tpl-related-note {
	min-width: 0;
}

body.module-rank .tpl-related,
body.module-rank .tpl-index-feed-rank,
body.module-rank .tpl-category-rank {
	border-left: 4px solid var(--tpl-accent);
}

body.module-catalog .tpl-module-links a:first-child,
body.module-mixed .tpl-module-split .module-side-list {
	background: var(--tpl-surface);
}

.tpl-section-entry {
	padding: 16px;
	background: var(--tpl-surface);
	border: 1px solid var(--tpl-border);
	border-radius: 6px;
}

.tpl-index-feed-rank-beta,
.tpl-index-feed-rank-gamma {
	padding: 16px;
	background: var(--tpl-surface);
	border: 1px solid var(--tpl-border);
	border-radius: 6px;
}

.tpl-index-feed-rank-beta .module-items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.tpl-index-feed-rank-beta .module-item,
.tpl-index-feed-rank-gamma .module-item,
.tpl-category-rank-beta .module-item {
	display: block;
	float: none;
	width: 100%;
	box-sizing: border-box;
}

.tpl-index-feed-rank-gamma .tpl-module-split {
	grid-template-columns: 340px minmax(0, 1fr);
}

.tpl-index-feed-rank-gamma .module-items,
.tpl-category-rank-beta .module-items {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.tpl-category-rank-beta,
.tpl-category-rank-gamma {
	padding: 16px;
	background: var(--tpl-surface);
	border: 1px solid var(--tpl-border);
	border-radius: 6px;
}

.tpl-section-mini-links {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tpl-section-strip,
.tpl-section-rankline,
.tpl-section-mixline,
.tpl-search-headline {
	display: flex;
	gap: 10px;
	margin-bottom: 16px;
	overflow-x: auto;
}

.tpl-section-strip a,
.tpl-section-rankline a,
.tpl-section-mixline a,
.tpl-search-headline a,
.tpl-search-headline strong,
.tpl-search-headline span {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 9px 12px;
	color: #333;
	white-space: nowrap;
	background: var(--tpl-surface);
	border: 1px solid var(--tpl-border);
	border-radius: 5px;
}

.tpl-section-rankline span,
.tpl-section-mixline span {
	margin-right: 6px;
	color: var(--tpl-accent);
}

.tpl-section-latestline a {
	min-width: 130px;
	justify-content: flex-start;
}

.tpl-section-quickmix a,
.tpl-search-headline-delta a,
.tpl-search-headline-zeta a {
	flex-direction: column;
	align-items: flex-start;
	min-width: 116px;
	line-height: 1.35;
}

.tpl-search-headline strong {
	color: #111;
	font-weight: 700;
}

body.section-epsilon .tpl-category-rank-beta:nth-of-type(even) .module-main,
body.section-gamma .tpl-category-rank-gamma .tpl-module-links {
	background: var(--tpl-surface-alt);
}

body.module-rank.section-epsilon #index-main .tpl-category-rank-beta .module-items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

body.module-rank.section-epsilon #index-main .tpl-category-rank-beta .module-item {
	display: block;
	float: none;
	width: 100%;
	box-sizing: border-box;
}

body.module-rank.section-epsilon #index-main .tpl-category-rank-beta .module-item-cover {
	width: 100%;
	height: 0;
	margin: 0;
	padding-top: 140%;
	box-sizing: border-box;
}

body.module-rank.section-epsilon #index-main .tpl-category-rank-beta .module-item-titlebox {
	display: block;
	min-width: 0;
	margin-top: 8px;
}

body.module-rank.section-epsilon #index-main .tpl-category-rank-beta .module-item-title {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 899px) {
	.tpl-board-links,
	.tpl-board-catalog .tpl-board-links,
	.tpl-flow-grid,
	body.tpl-focus #index-main .content > .module:first-child .module-items,
	body.tpl-catalog .module-side .module-textlist,
	body.tpl-rank.library .module-items,
	body.flow-catalog .tpl-flow-grid,
	body.card-media.library .module-items,
	.tpl-index-feed-fresh .module-items,
	.tpl-index-feed-rank-beta .module-items,
	.tpl-index-feed-rank-gamma .module-items,
	.tpl-category-rank-beta .module-items,
	.tpl-index-feed-rank .module-main .module-items,
	.tpl-related-detail-fresh .module-items,
	body.play.module-fresh .module.tpl-related-play-fresh .module-items,
	body.tpl-rank.play .module:nth-of-type(2) .module-items,
	body.tpl-focus.play .module:nth-of-type(2) .module-items {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	body.module-rank.section-epsilon #index-main .tpl-category-rank-beta .module-items {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tpl-index-feed-rank,
	.tpl-module-split {
		display: block;
	}

	.tpl-index-feed-rank .module-main,
	.tpl-index-feed-rank .module-side {
		width: 100%;
	}

	.tpl-index-feed-rank .module-side,
	.tpl-module-split .module-side-list,
	.tpl-related-note {
		margin-top: 14px;
	}

	.tpl-category-fresh .module-items,
	.tpl-category-catalog .module-items,
	.tpl-index-feed-mixed .module-items,
	.tpl-category-mixed .module-items,
	.tpl-section-mini-links,
	.tpl-related-detail-mixed .module-items,
	.tpl-related-play-mixed .module-items,
	.tpl-category-rank .tpl-rank-list,
	.tpl-related .tpl-rank-list,
	.tpl-module-links {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tpl-index-feed-fresh .module-item:nth-child(n),
	.tpl-index-feed-rank .module-main .module-item:nth-child(n),
	.tpl-related-detail-fresh .module-item:nth-child(n),
	body.play.module-fresh .module.tpl-related-play-fresh .module-item:nth-child(n) {
		display: block;
	}

	.tpl-seo-links a {
		max-width: calc(33.333% - 6px);
	}

	body.tpl-rank .module-wrapper {
		flex-direction: column;
	}

	body.tpl-rank .module-main,
	body.tpl-rank .module-side {
		width: 100%;
		margin: 0;
		position: static;
	}

	body.tpl-focus.view .view-heading,
	body.tpl-catalog.view .view-heading {
		display: block;
	}

	body.head-center .brand,
	body.head-center .nav-search,
	body.head-navfirst .brand,
	body.head-navfirst .nav {
		float: none;
	}

	body.card-media.library .module-item {
		display: block;
		min-height: 0;
	}

	body.card-media.library .module-item-cover {
		width: auto;
	}
}

@media (max-width: 559px) {
	body.tpl-focus #index-main > .content,
	body.tpl-catalog #index-main > .content,
	body.tpl-rank #index-main > .content,
	body.tpl-focus #main > .content,
	body.tpl-catalog #main > .content,
	body.tpl-rank #main > .content {
		padding-left: 10px;
		padding-right: 10px;
	}

	.tpl-board-links,
	.tpl-board-catalog .tpl-board-links,
	.tpl-flow-grid,
	body.tpl-focus #index-main .content > .module:first-child .module-items,
	body.tpl-catalog .module-side .module-textlist,
	body.tpl-rank.library .module-items,
	body.flow-catalog .tpl-flow-grid,
	body.card-media.library .module-items,
	.tpl-index-feed-fresh .module-items,
	.tpl-index-feed-rank-beta .module-items,
	.tpl-index-feed-rank-gamma .module-items,
	.tpl-category-rank-beta .module-items,
	.tpl-index-feed-rank .module-main .module-items,
	.tpl-related-detail-fresh .module-items,
	body.play.module-fresh .module.tpl-related-play-fresh .module-items,
	body.tpl-rank.play .module:nth-of-type(2) .module-items,
	body.tpl-focus.play .module:nth-of-type(2) .module-items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.module-rank.section-epsilon #index-main .tpl-category-rank-beta .module-items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tpl-category-fresh .module-items,
	.tpl-category-catalog .module-items,
	.tpl-index-feed-mixed .module-items,
	.tpl-category-mixed .module-items,
	.tpl-section-mini-links,
	.tpl-related-detail-mixed .module-items,
	.tpl-related-play-mixed .module-items,
	.tpl-category-rank .tpl-rank-list,
	.tpl-related .tpl-rank-list,
	.tpl-module-links,
	.tpl-related-play-catalog .tpl-module-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tpl-index-feed-fresh .module-item:nth-child(n),
	.tpl-index-feed-rank .module-main .module-item:nth-child(n),
	.tpl-related-detail-fresh .module-item:nth-child(n),
	body.play.module-fresh .module.tpl-related-play-fresh .module-item:nth-child(n) {
		display: block;
	}

	body.play.module-fresh .module.tpl-related-play-fresh .module-items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.tpl-focus #index-main .content > .module:first-child .module-item:first-child,
	body.tpl-focus #index-main .content > .module:first-child .module-item:nth-child(2) {
		grid-column: span 1;
	}

	.tpl-headline-nav,
	.tpl-headline-quick,
	.tpl-headline-compact,
	.tpl-list-rankbar,
	.tpl-search-suggest,
	.tpl-foot-links {
		flex-wrap: nowrap;
		overflow-x: auto;
	}

	.tpl-seo-links {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tpl-seo-links a {
		max-width: none;
	}
}

body.library #main > .content > .module .module-list > .module-items {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 18px 14px;
	align-items: start;
}

body.library #main > .content > .module .module-list > .module-items > .module-item {
	display: block;
	float: none;
	width: 100%;
	min-width: 0;
	min-height: 0;
	padding: 8px;
	box-sizing: border-box;
}

body.library #main > .content > .module .module-list > .module-items > .module-item .module-item-cover {
	width: 100%;
	height: 0;
	margin: 0;
	padding-top: 140%;
	box-sizing: border-box;
}

body.library #main > .content > .module .module-list > .module-items > .module-item .module-item-pic,
body.library #main > .content > .module .module-list > .module-items > .module-item .module-item-pic img {
	display: block;
	width: 100%;
	height: 100%;
}

body.library #main > .content > .module .module-list > .module-items > .module-item .module-item-titlebox,
body.library #main > .content > .module .module-list > .module-items > .module-item .module-item-text {
	display: block;
	grid-column: auto;
	min-width: 0;
	margin-top: 8px;
}

body.library #main > .content > .module .module-list > .module-items > .module-item .module-item-title {
	display: block;
	overflow: hidden;
	color: #222;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 1199px) {
	body.library #main > .content > .module .module-list > .module-items {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

@media (max-width: 899px) {
	body.library #main > .content > .module .module-list > .module-items {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 559px) {
	body.library #main > .content > .module .module-list > .module-items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px 10px;
	}
}
