/* BASIC LAYOUT
----------------------------------------------- */
.wrapper {min-width: 320px; position: relative;}
.wrapper-container {max-width: var(--max-width); margin: 0 auto; position: relative; z-index: 20;}
.wrapper-main {min-height: 100vh; padding: 0 var(--indent);}
.header {position: relative; padding-top: 30px; padding-bottom: 30px; z-index: 50;}
.footer {background-color: var(--bg-lighter); padding-top: 30px; padding-bottom: 30px;
	border-top: 1px solid var(--bdc-lighter); margin-top: 50px;}
.block-bg, .lightstat_sander {background-color: var(--bg-lighter); padding: 20px; border-radius: 6px;}
.cols {display: grid; grid-gap: 50px 50px; grid-template-columns: 360px minmax(0,1fr);}
.col-main {grid-column: 2 / 3; min-height: 80vh;}
.cols--full {grid-template-columns: minmax(0,1fr) !important;}
.cols--full .col-main {grid-column: 1 / -1;}

#scrolltop {position: fixed; width: 60px; height: 60px; line-height: 60px; right: 10px; bottom: 50px;
	z-index: 990; display: none; background-color: var(--bg-lighter); color: var(--tt-darker); 
	cursor: pointer; font-size: 24px; border-radius: 50%; text-align: center; box-shadow: 0 5px 10px rgba(0,0,0,0.6);}

.batcave-banner {box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.5);display: flex; justify-content: space-between; align-items: center;align-items: center;}
.lt-is-active .batcave-banner {box-shadow: none;}
.batcave-banner b {margin-right: 20px; flex-grow: 1;font-weight: 700; font-size: 24px;}
.batcave-banner a {color: var(--accent); text-decoration: none; font-weight: bold; padding: 10px 20px; border: 2px solid var(--accent); border-radius: 5px; transition: all 0.3s ease; white-space: nowrap; width: 100%; text-align: center;}
.batcave-banner a:hover {background-color: var(--accent); color: white; text-decoration: none;}

/* batcave-banner inside page__btns — tertiary link style */
.page__btns .batcave-banner {box-shadow: none; display: inline;}
.page__btns .batcave-banner a {border: 0; padding: 0; font-weight: 600; font-size: 11px; color: var(--tt-darkest); width: auto;}
.page__btns .batcave-banner a:hover {background: none; color: var(--accent);}
.lt-is-active .page__btns .batcave-banner a {color: var(--tt-darkest);}

/* Width of the scrollbar */
::-webkit-scrollbar {
    width: 12px; /* Adjust width to your preference */
}

/* Track of the scrollbar, should match the overall dark theme of the site */
::-webkit-scrollbar-track {
    background: #1c1c1c; /* Dark grey to match the sidebar and header */
}

/* Handle of the scrollbar, to contrast against the track */
::-webkit-scrollbar-thumb {
    background: #c4c4c4; /* Light grey to match the text and icon colors */
    border-radius: 4px; /* Adjust radius to your preference for roundness */
}

/* Handle of the scrollbar when hovered over, can have a subtle change */
::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8; /* Slightly darker grey for hover effect */
}

/* HEADER
----------------------------------------------- */
.logo {display: inline-flex; flex-direction: column; justify-content: center; height: 40px; text-align: left;
	padding-left: 40px; margin-right: 30px; position: relative;}
.logo__title {text-transform: uppercase; color: #fff; font-size: 20px; letter-spacing: 3px; font-weight: 700; line-height: 1;}
.logo span {color: var(--tt-darker-2);}
.logo::before {content: ''; width: 30px; height: 30px; border-radius: 50%; position: absolute; left: 0; top: 5px;
	background: #f2f2f2 url(../images/logo.svg) center center / 20px no-repeat;}

.header__menu > li {margin-right: 30px; position: relative; font-weight: 600;}
.header__menu > li > a {height: 40px; display: flex; align-items: center;}
.header__menu > li > a.is-active {color: var(--accent);}
.header__menu > li:hover > a, .header__btn-login:hover, .header__btn-ctrl:hover {color: var(--accent);}
.header__menu > li .fal, .header__btn-login .fal {opacity: 0.8; width: 23px; font-size: 14px;}
.header__btn-login {cursor: pointer; font-weight: 600; margin-left: 30px;}
.header__btn-ctrl {display: inline-block; font-size: 24px; margin-left: 20px; position: relative; cursor: pointer;}
.header__btn-ctrl i {position: absolute; left: 10px; top: -6px;
	font-size: 12px; min-width: 20px; height: 20px; border-radius: 10px; padding: 0 5px; pointer-events: none;
	line-height: 20px; text-align: center; background-color: var(--accent); color: #000; font-style: normal;}
.header__btn-ctrl i.pm-0 {background-color: var(--tt-darker); color: var(--tt);}
.header__ctrl-login {padding-left: 10px;}
.theme-toggle {margin-right: -10px;}
.header__btn-ctrl-text {width: 48px; display: flex; justify-content: center; align-items: center; 
    font-size: 12px;}
.header__btn-ctrl-caption {font-size: 12px; position: absolute; left: 50%; top: -25px; 
    transform: translateX(-50%); text-align: center; line-height: 1;}

/* ViewMode switcher */
.view-mode-switch {display:flex;align-items:center;gap:2px;background:rgba(128,128,128,.12);border-radius:20px;padding:3px;margin:0 14px;flex-shrink:0;}
.view-mode-switch__btn {border:none;background:transparent;color:var(--tt);cursor:pointer;padding:3px 11px;border-radius:16px;font-size:12px;font-weight:600;transition:background .15s,color .15s;white-space:nowrap;line-height:1.6;}
.view-mode-switch__btn:hover {color:var(--accent);}
.view-mode-switch__btn.is-active {background:var(--accent);color:#000;}

/* View-mode content filter bar (admin-only) — ID для победы над спецификой классов */
.view-mode-bar {display: flex; align-items: center; background: var(--bg); border-bottom: 1px solid var(--bdc-lighter); gap: 0; margin-bottom: 20px;}
#js-view-mode-switch {background: none; border-radius: 0; padding: 0; margin: 0; gap: 0;}
#js-view-mode-switch .view-mode-switch__btn {border-radius: 0; padding: 9px 18px; font-size: 13px; font-weight: 600; color: var(--tt-darker); border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; line-height: 1; margin-bottom: -1px;}
#js-view-mode-switch .view-mode-switch__btn:hover {color: var(--tt); border-bottom-color: rgba(255,163,50,.35); background: transparent;}
#js-view-mode-switch .view-mode-switch__btn.is-active {color: var(--accent); border-bottom-color: var(--accent); background: transparent;}

.header__search {position:relative; width: 260px;}
.header__search input, .header__search input:focus {padding: 0 15px 0 45px; border-radius: 20px; 
	background: var(--bg-lighter); box-shadow: 0 0 0 1px var(--bdc-lighter); color: var(--tt);}
.header__search input:not(:focus)::placeholder {color: var(--tt); opacity: 0.6; font-size: 16px;} 
.header__search button {position:absolute; left: 0; top: 0; width: 50px; padding: 0; 
	background: none; color: var(--tt); font-size: 15px;}

.nav {margin-bottom: 50px;}
.nav__list {gap: 8px 8px; font-size: 14px;}
.nav__list a {padding: 6px 10px; border-radius: 3px; display: block; background-color: var(--bg-lighter);}
.nav__list a b {font-weight: 600;}
.nav__list a span {color: var(--tt-darker); font-size: 11px; margin-left: 6px; display: inline-block;}
.nav__list a:hover {background-color: var(--accent) !important; color: #000;}
.nav__list a:hover span {color: #000;}
.nav__list li.is-active a:not(:hover) {box-shadow: 0 0 0 1px var(--accent);}
.header__menu > li > div {height: 40px; display: flex; align-items: center; padding: 0 12px; 
	border: 1px solid var(--accent); border-radius: 4px; cursor: pointer; transition: all .2s linear;}
.header__menu .nav__list {opacity: 0; visibility: hidden; position: absolute; left: 0; top: 99%; 
	background-color: var(--bg-lighter); box-shadow: 0 10px 20px rgba(0,0,0,0.15); padding: 20px; width: 840px;}
.header__menu li:hover .nav__list {opacity: 1; visibility: visible; transition: all .2s linear;}
.header__menu li:hover > div {background-color: var(--accent); color: #000;}
.header__menu .nav__list a:not(:hover) {background-color: var(--bg);}


/* SECTION
----------------------------------------------- */
.sect + .sect {margin-top: 50px;}
.sect__header {margin-bottom: 20px;}
.sect__title {font-size: 24px; font-weight: 700;}
.sect__title .fal {color: var(--accent-2); margin-right: 10px;}
.sect__sort {position: relative; color: var(--tt-darker); font-size: 10px;}
.sect__sort * {display: inline-block; vertical-align: middle;}
.sect__sort a {text-transform: uppercase; margin-left: 10px; color: var(--tt-darker);}
.sect__sort a::after {content: "\f107"; font-weight: 300; font-family: 'Font Awesome 5 Pro'; margin-left: 8px; display: inline-block;}
.sect__sort .desc a::after {content:"\f106";}
.sect__sort li[class] a {color: var(--tt);}

.sect__genres {display: grid; grid-gap: 10px 20px; font-size: 14px; grid-template-columns: repeat(auto-fill,minmax(160px,1fr));}
.sect__genres.force-active {display: grid;}
.sect__genres.is-active {display: none;}
.sect__genres a {color: var(--tt-darker-2);}
.sect__genres span {color: var(--accent-darker);}
.sect__btn {height: 30px; padding: 0 10px; border-radius: 4px; margin-left: 20px; 
	background-color: var(--tt-darker); color: #fff;}

.site-desc {display: grid; grid-gap: 20px; line-height: 1.7; 
	color: var(--tt-darker); padding-top: 30px; grid-column: 1 / -1;font-size: 12px;}
.site-desc h1, .site-desc h2, .site-desc h3 {font-weight: 700; font-size: 20px; color: var(--tt); line-height: 1.3;}
.site-desc a {text-decoration: underline; color: var(--tt-darker);}
.site-desc ul li {position: relative; padding-left: 25px; margin-left: 25px;}
.site-desc ul li::before {content:"\f00c"; font-weight: 300; font-family:'Font Awesome 5 Pro'; 
	color: var(--accent); position: absolute; left: 0; top: 0;}
.speedbar {font-size: 14px; color: var(--tt-darker); margin-top: 20px; margin-bottom: 20px;}
.speedbar a:hover, .sect__genres a:hover {text-decoration: underline; opacity: 1; color: var(--tt);}

.sect--comms {grid-column: 1 / -1;}
.sect--comms .sect__content {display: grid; grid-gap: 20px 20px; grid-template-columns: repeat(auto-fill,minmax(260px,1fr));}
.sect--latest .sect__content {display: grid; grid-gap: 15px 20px; grid-template-columns: repeat(auto-fill,minmax(320px,1fr));}
.sect--hot .sect__content {display: grid; grid-gap: 20px 15px; grid-template-columns: repeat(auto-fill,minmax(120px,1fr));}
.sect--bg {background-color: var(--bg-lighter); padding-top: 30px; padding-bottom: 30px;
	border: 1px solid var(--bdc-lighter); border-left: 0; border-right: 0;}
.sect--popular {margin-bottom: 50px;}
.carou__content {display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--tt-darker) var(--bdc);
	padding-bottom: 10px; gap: 20px;}
.carou__content > * {flex-shrink: 0; scroll-snap-align: start;}
.carou__content > .poster {width: calc((100% - 140px)/8);}


.blur-image {
    filter: blur(5px);
    transition: filter 0.3s;
}

/* LATEST
----------------------------------------------- */
.latest {position: relative; margin: 0; box-shadow: inset 0 -1px #000;
	border-bottom: 1px solid var(--bdc-lighter); padding-bottom: 16px;}
.latest__img {width: 64px; height: 94px; border-radius: 6px; display: block; margin-right: 15px; object-fit: cover; flex-shrink: 0; background-color: var(--bg-lighter);}
.latest__chapter, .latest__chapter a {font-size: 14px; color: var(--tt-darker-2); margin-top: 5px;}
.latest__publisher {font-size: 13px; color: var(--tt-darker); margin-top: 5px;}
.latest__chapter a:hover, .latest__title:hover {text-decoration: underline;}
a.latest__img:hover {opacity: 0.8;}
.latest__title .fal {color: var(--accent-2); padding-left: 10px;}
.sect--latest-smaller .sect__content {grid-gap: 20px 20px;}
.sect--latest-smaller .latest {border: 0; box-shadow: none; padding-bottom: 0;}
.sect--latest-smaller .latest__img {width: 60px; height: 60px; object-fit: cover;}
.sect--latest-smaller .latest__title {font-size: 14px; display: inline-block; max-width: 100%;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1;}
.sect--latest-smaller .latest__chapter {font-size: 12px; margin-top: 2px;}
.sect--latest-smaller .latest__publisher {font-size: 11px; margin-top: 3px;}


/* POSTER ITEM, READED ITEM
----------------------------------------------- */
.poster {display: block; position: relative; z-index: 1;}
.poster__img {margin-bottom: 17px; border-radius: 10px; aspect-ratio: 2/3; width: 100%; display: block; object-fit: cover; background-color: var(--bg-lighter);}
.poster__title {font-size: 16px; font-weight: 400;}
.poster__subtitle {margin-top: 8px; font-size: 12px; color: #9FA2A8; }
.poster__subtitle li {display: inline; margin-right: 1px;}
.poster__subtitle li a {color: var(--tt-darker);}
.poster__subtitle li:not(:last-child)::after {margin-left: 3px; content: '/'; opacity: 0.9;}
.poster__label {position: absolute; z-index: 10; padding: 5px 10px; border-radius: 8px; text-transform: uppercase;
	 font-size: 10px; font-weight: 600; letter-spacing: 1px; max-width: 90%; word-wrap: break-word; 
	 background-color: rgba(0,0,0,0.6); color: #fff; text-shadow: 0px 0px 4px #000;}
.poster__label--readers {right: 5px; top: 5px;}
.poster__label--rate {left: 5px; bottom: 5px; font-size: 14px;}
.has-overlay__mask {position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 3; 
	background-color: rgba(0,0,0,0.8); color: var(--accent); font-size: 40px; opacity: 0; 
	display: flex; justify-content: center; align-items: center; flex-direction: column;}
.has-overlay:hover .has-overlay__mask {opacity: 1;}
.poster__subtitle, .poster__subtitle li {max-width: 100%;}

.readed {background-color: var(--bg-lighter); padding: 20px; border-radius: 8px; margin-bottom: -10px;}
.readed.not-active > * {opacity: 0.7;}
.readed.not-active .readed__btn {background-color: var(--tt-darker); color: #fff;}
.readed__img {width: 100px; height: 150px; border-radius: 6px; margin-right: 20px; display: block; object-fit: cover; flex-shrink: 0; background-color: var(--bg-lighter);}
.readed__title {font-size: 18px; font-weight: 600; margin-bottom: 6px;}
.readed__meta {font-size: 13px; margin-bottom: 20px; color: var(--tt-darker-2);}
.readed__meta-item:not(:last-child)::after {content: ''; width: 6px; height: 6px; border-radius: 50%; 
	display: inline-block; vertical-align: middle; margin: 0 10px; background: var(--tt-darker);}
.readed__info li > span:first-child {display: inline-block; font-weight: 700; width: 80px; color: var(--tt-darker);}
.readed__progress {text-align: center; width: 160px; margin-left: 20px;}
.readed__progress-counter {margin-bottom: 10px; font-size: 13px;}
.readed__progress-bar {position: relative; border-radius: 3px; height: 6px; background-color: var(--bdc);}
.readed__progress-bar-fill {position: absolute; left: 0; top: 0; bottom: 0; background: var(--tt-darker); border-radius: 3px;}
.readed__progress-percent {margin: 15px 0; font-weight: 700; font-size: 24px;}
.readed__btn {width: 100%; padding: 0;}
a.readed__img:hover {opacity: 0.8;}
.readed__desc a:hover {text-decoration: underline;}
.short .readed__info li > span:first-child {display: inline; width: auto; margin-right: 3px;}
.readed__info a {text-decoration: none;}
.readed__info a:hover {text-decoration: none; color: var(--accent);}
.readed__rating {margin-bottom: 0px;}
.readed__rating-votes {font-size: 12px; margin-bottom: 20px; color: var(--tt-darker);}


/* SIDEBAR, LAST COMMENTS
----------------------------------------------- */
.side-block:not(:last-child) {margin-bottom: 50px;}
.side-block__title {font-weight: 700; font-size: 24px; margin-bottom: 20px;}

.popular {background: var(--bg-lighter); border-radius: 6px;}
.popular + .popular {margin-top: 8px;}
.popular__img {width: 64px; height: 96px; border-radius: 6px; object-fit: cover; flex-shrink: 0; background-color: var(--bg-lighter);}
.popular__desc {padding: 6px 15px;}
.popular__subtitle {font-size: 13px; margin-top: 6px; opacity: 0.7;}
.popular:hover .popular__title, .showitems-btn:hover {text-decoration: underline;}
.showitems-btn {margin-top: 13px; cursor: pointer; color: var(--accent);
	text-transform: uppercase; font-weight: 600; font-size: 13px; letter-spacing: 1px;}
[data-showitems="2"] > :nth-child(n+4) { display: none; }
[data-showitems="5"] > :nth-child(n+7) { display: none; }

.soc-channels__item {display: block; position: relative; width: 40px; height: 40px; border-radius: 50%; margin-right: 15px; 
	background: #2daae1 url(../images/i-tlg.svg) center center / 16px 16px no-repeat;}
.soc-channels__item.vk {background: #1877f2 url(../images/i-vk.svg) center center / 20px 20px no-repeat;}

.lcomm {padding: 10px; padding-bottom: 37px; position: relative;}
.lcomm__author {font-size: 12px; text-transform: uppercase; letter-spacing: 1px;}
.lcomm__link {display: block; color: var(--tt-darker); font-size: 12px;
	text-transform: uppercase; letter-spacing: 1px; padding: 10px; 
	position: absolute; left: 0; bottom: 0; right: 0;}
.lcomm__date {font-size: 11px; color: var(--tt-darkest); margin-left: 10px;}
.lcomm__text {margin: 8px 0 0 0; color: var(--tt-darker-2); -webkit-line-clamp: 3;}
.lcomm__avatar {width: 36px; height: 36px; border-radius: 4px; margin-right: 10px; object-fit: cover; flex-shrink: 0;}
.lcomm__link:hover {text-decoration: underline; color: var(--tt);}

.popular:hover .popular__title, .speedbar a:hover, .readed__title a:hover, .poster:hover .poster__title, a.latest__title:hover, 
.latest__chapter a:hover, a.lcomm__link:hover, .footer__menu a:hover, .comment-item__controls li a:hover, .comment-item__rating-likes a:hover, 
.comment-item__author a:hover, .speedbar a:hover {color: var(--accent); text-decoration: none !important;}


/* MODULES CSS
----------------------------------------------- */
.lightstat_sander {margin-bottom: 40px;}
.lightstat_sander_head {display: flex; align-items: center; font-size: 18px; padding-right: 60px; line-height: 1.2;}
.lightstat_sander_head_count {font-size: 40px; font-weight: 700; margin-right: 20px;}
.lightstat_sander_body {margin: -20px; padding: 20px; margin-top: 0px; display: grid; grid-gap: 10px;}
.lightstat_sander_body_item {display: flex; align-items: center; position: relative; padding-left: 30px;
	justify-content: space-between; color: var(--tt);}
.lightstat_sander_body_item b {color: var(--tt-darker); font-weight: 400; font-size: 14px;}
.lightstat_sander_bar {margin: 0 -20px; margin-top: 20px; height: 4px; display: flex; background: #619505;}
.lightstat_sander_bar > * {height: 4px;}
.lightstat_sander_body_item::after {width: 10px; height: 10px; border-radius: 50%; 
	position: absolute; left: 0px; top: 5px; content: ''; background-color: var(--bg);}
.lightstat_sander_body_item_bots::after {background-color: #619505;}
.lightstat_sander_bar_users, .lightstat_sander_body_item_users::after {background-color: #d95e01;}
.lightstat_sander_bar_guest, .lightstat_sander_body_item_guest::after {background-color: #af291d;}

.searchXfield {display: grid; grid-gap: 10px 20px; font-size: 14px; padding-bottom: 10px;
	grid-template-columns: repeat(auto-fill,minmax(160px,1fr));}
label.XSearchfield {position: relative; padding-left: 26px; cursor: pointer; color: var(--tt-darker-2); display: block;}
label.XSearchfield input {appearance: none; -webkit-appearance: none; opacity: 0;}
label.XSearchfield span::before {content: ''; width: 16px; height: 16px; border-radius: 3px; background: var(--bdc); 
	position: absolute; left: 0; top: 50%; margin-top: -8px; box-shadow: 0 0 0 1px var(--bdc-lighter);}
label.XSearchfield input:checked + span::before {box-shadow: 0 0 0 1px var(--tt-darker);}
label.XSearchfield input:checked + span::after {content:"\f00c"; font-family:'Font Awesome 5 Pro'; font-weight: 300; 
	position: absolute; left: 2px; top: 50%; transform: translateY(-50%); margin-top: -2px; color: #03b82a; font-size: 20px;}
.xFieldSearchContent > .list > .title {position: relative; cursor: pointer; margin-bottom: 10px;
	background-color: var(--bg-lighter); border-radius: 6px; padding: 10px 20px;}
.xFieldSearchContent > .list > .title .openClose {display: inline-block; width: 30px; height: 30px; overflow: hidden; 
	text-indent: -200px !important; position: absolute; right: 10px; top: 50%; margin-top: -15px;}
.xFieldSearchContent .title .openClose:before {content:"\f078"; font-family:'Font Awesome 5 Pro'; font-weight: 300; 
	position: absolute; right: 0; top: 0; width: 100%; height: 100%; text-indent: 0 !important; font-size: 18px; 
	display: flex; align-items: center; justify-content: center;}
.xFieldSearchContent .title .openClose.open:before {content:"\f077";}
label.XSearchfield:hover {color: var(--tt); text-decoration: underline;}
.xFieldSearchContent > .list > .title:hover {color: var(--accent);}
.xFieldSearchContent .close {text-indent: 0; overflow: visible;}
.searchXfield li:empty {display: none;}
.pols {padding-bottom: 10px;}
.pols input[type="text"] {width: 100px !important; margin-right: 10px;}
.pols input[type="text"]:last-child {margin: 0 0 0 10px;}
.xFieldSearchSubmit {text-align: center;}
.xFieldSearchSubmit input {height: 30px; border-radius: 4px; background-color: #383a48; color: #fff;}

/* FOOTER, PAGINATION
----------------------------------------------- */
.footer__menu {display: grid; grid-gap: 10px; align-content: start;}
.footer__menu-title {font-weight: 600; font-size: 18px; padding-bottom: 10px;}
.footer__menu a {font-size: 12px; text-transform: uppercase;}
.footer__menu-2 a {color: var(--tt-darker);}
.footer__two {margin-top: 30px;}
.footer__text {font-size: 14px; line-height: 1.7; color: var(--tt-darker); margin-top: 15px;}
.footer__menu-2 .soc-channels {padding-bottom: 10px;}
.footer__menu a:hover {text-decoration: underline;}

.pagination {text-align: center; padding-top: 10px; grid-column: 1 / -1;}
.readed + .pagination {padding-top: 20px;}
#dle-content > .pagination:first-child {padding-top: 0; margin-top: -10px; margin-bottom: -10px;}
.sect__content > .pagination:first-child {padding-top: 0; margin-top: -10px; margin-bottom: 20px;}
#content-load > .pagination:not(:last-child) {display: none;}
.pagination__btn-loader a, .pagination__btn-loader > span {display: inline-flex; justify-content: center; align-items: center; 
	height: 60px; padding: 0 40px; max-width: 360px; background: var(--bg); color: var(--accent); width: 100%;
	font-weight: 400; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; border-radius: 30px;}
.pagination__pages a, .pagination__pages span {display: inline-block; margin: 10px 5px 0 5px; line-height: 38px; 
	padding: 0 10px; min-width: 40px; font-size: 16px; border: 1px solid var(--bdc); border-radius: 6px; text-align: center;}
.pagination__pages span:not(.nav_ext), .pagination__pages a:hover, .pagination__btn-loader a:hover  
{background: var(--bdc); color: var(--accent); border-color: var(--bdc);}
.pagination__pages--full a, .pagination__pages--full span {line-height: 30px; min-width: 30px; font-size: 14px;}


/* INNER PAGE
----------------------------------------------- */
.page__grid {display: grid; grid-gap: 20px 25px; grid-template-columns: 300px minmax(0,1fr); 
	grid-template-areas: "pleft pheader" "pleft pmain"; position: relative; padding-bottom: 30px; 
	grid-template-rows: min-content 1fr;}
.page__left {grid-area: pleft; position: relative; z-index: 5; border-top: 1px solid var(--bdc-lighter);
	background-color: var(--bg-lighter); border-radius: 6px; padding: 15px;}
.page__header {grid-area: pheader;}
.page__main {grid-area: pmain;}
.page__header h1 {font-weight: 700; font-size: 28px;}
.page__header h1 a {font-size: 16px; margin-left: 10px;}
.page__title-original {font-weight: 600; font-size: 20px; margin-top: 3px; color: var(--tt-darker);}

.page__poster {border-radius: 4px; margin-bottom: 20px; aspect-ratio: 2/3; width: 100%; max-height: 450px; object-fit: cover; background-color: var(--bg-lighter);}
/* PAGE BUTTONS — v05: Primary → Secondary (пары) → Tertiary (ссылки)
   Закон Хика: 3 визуальных уровня (было 7 равных)
   Закон Фиттса: Primary 46px — самый крупный target */
.page__btns {display: grid; grid-gap: 8px;}
.page__btns .btn {width: 100%; border-radius: 4px; font-weight: 600; letter-spacing: 0.5px;}

/* PRIMARY: Начать чтение */
.page__btn-read {height: 46px; font-size: 15px; font-weight: 700; background-color: var(--accent); color: #000; text-transform: uppercase;}
.page__btn-read:hover {background-color: var(--accent-darker); color: #000;}

/* PRIMARY: Продолжить чтение */
.page__btn-continue {height: 46px; font-size: 15px; font-weight: 700; background-color: #00a86b; color: #fff; text-transform: uppercase;}
.page__btn-continue:hover {background-color: #00c478; color: #fff;}
.page__btn-continue + .page__btn-read {display: none;}

/* SECONDARY: Коллекция, Следить, Push */
.page__btn-sec {height: 38px; font-size: 11px; text-transform: none; letter-spacing: 0;
	background-color: var(--bg-lighter-2); color: var(--tt-darker-2); border: 1px solid rgba(255,255,255,0.08); gap: 6px;}
.page__btn-sec:hover {border-color: var(--accent); color: var(--accent); background-color: var(--bg-lighter-2);}
.page__btn-sec .fal, .page__btn-sec .fa {margin-right: 2px;}

/* Secondary: пара в два столбца */
.page__btns-pair {display: grid; grid-template-columns: 1fr 1fr; gap: 6px;}
.page__btns-pair .page__favs {position: relative; min-width: 0;}
.page__btns-pair .page__favs .page__btn-sec {width: 100%;}

/* Secondary: Push на полную ширину */
.page__btn-sec--full {width: 100%;}

/* Коллекция: dropdown-стрелка */
.page__btn-sec.js-show-favlist::after,
.page__btn-fav::after {content: "\f107"; font-weight: 300; font-family: 'Font Awesome 5 Pro'; margin-left: 6px; font-size: 14px;}

/* Dropdown коллекции */
.page__favs {position: relative;}
.page__fav-list {position: absolute; left: 0; top: 0; width: 100%; line-height: 38px; padding: 8px 0;
	background-color: var(--bg-lighter-2); border: 1px solid rgba(255,255,255,0.08); border-radius: 4px;
	box-shadow: 0 8px 20px rgba(0,0,0,0.6); z-index: 10;}
.page__fav-list li {cursor: pointer; padding: 0 14px; font-size: 12px;}
.page__fav-list li:hover {background-color: var(--bg);}
.page__fav-list li.page__fav-del {background-color: #c0392b; color: #fff;}

/* Backward compat: .page__btn-fav fallback to secondary style */
.page__btn-fav {background-color: var(--bg-lighter-2); border: 1px solid rgba(255,255,255,0.08); color: var(--tt-darker-2);}
.page__btn-fav:hover {border-color: var(--accent); color: var(--accent);}

/* Active states для secondary */
.page__btn-sec.is-active,
.js-follow-status.is-active {background-color: rgba(78,107,175,0.15); border-color: var(--accent-3); color: var(--accent-3);}

/* TERTIARY: Добавить главу, English, Жалоба */
.page__btns-tertiary {display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 16px;
	padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.04);}
.page__btn-tert,
.page__btns-tertiary > div {display: inline-flex; align-items: center; gap: 5px; padding: 5px 0;
	font-size: 11px; font-weight: 600; color: #999; cursor: pointer; transition: color 0.2s; text-decoration: none;}
.page__btn-tert a,
.page__btns-tertiary > div a {color: inherit; text-decoration: none;}
.page__btn-tert:hover,
.page__btns-tertiary > div:hover,
.page__btn-tert a:hover,
.page__btns-tertiary > div a:hover {color: var(--accent);}
.page__btn-tert .fal,
.page__btns-tertiary > div .fal {font-size: 11px; opacity: 0.5;}

/* Старая жалоба — обнуляем */
.page__complaint {text-align: center; padding: 0;}
.page__complaint a:hover {color: var(--accent);}
.page__list {border-radius: 6px; padding: 20px; margin-top: 20px; background-color: var(--bg-lighter-2); 
	display: grid; grid-gap: 10px 0; font-size: 16px;}
.page__list li > div:first-child {color: #AFAFB6; font-size: 14px; font-weight: 600; margin-bottom: 3px;}
.page__list a {text-decoration: underline;}
.page__list a:hover {color: var(--accent);}

.text-hidden {overflow: hidden; position: relative;}
.show-text {position: absolute; right: 0; bottom: 0;}
.show-text button {height: 20px; color: #ccc; padding: 0 5px 0 60px; text-transform: none;}
.show-text button:hover {color: #eee;}

.page__fav-list li.is-active {
	background-color: var(--accent-3);
	color: #fff;
	pointer-events: none;
}
.page__fav-list li.page__fav-del {
	background-color: #900;
	color: #fff;
}

/* LIGHT THEME: page buttons overrides */
.lt-is-active .page__btn-read {background-color: var(--accent); color: #fff;}
.lt-is-active .page__btn-read:hover {background-color: var(--accent-darker); color: #fff;}
.lt-is-active .page__btn-continue {color: #fff;}
.lt-is-active .page__btn-sec {background-color: #fff; border-color: #d0d0d0; color: #333;}
.lt-is-active .page__btn-sec:hover {border-color: var(--accent); color: var(--accent); background-color: #fff;}
.lt-is-active .page__btn-sec .fal,
.lt-is-active .page__btn-sec .fa {color: #666;}
.lt-is-active .page__btns-tertiary {border-top-color: #e0e0e0;}
.lt-is-active .page__fav-list {background-color: #fff; border-color: #d0d0d0; box-shadow: 0 8px 20px rgba(0,0,0,0.15);}
.lt-is-active .page__fav-list li:hover {background-color: #f5f5f5;}
.lt-is-active .page__btn-tert,
.lt-is-active .page__btns-tertiary > div,
.lt-is-active .page__btn-tert a,
.lt-is-active .page__btns-tertiary > div a {color: #666;}
.page__activity-subtitle {
	text-overflow: ellipsis;
	overflow: hidden;
}


.tabs__block {padding-top: 30px; position: relative;}
.tabs__block::before {content: ''; position: absolute; top: 0; bottom: -30px; right: calc((100% - 100vw)/2); 
	background-color: var(--bg-lighter); left: calc((100% - 100vw)/2 - 310px);
	border: 1px solid var(--bdc-lighter); border-left: 0; border-right: 0;}
.tabs__block > * {position: relative; z-index: 5;}
.tabs__select {text-transform: uppercase; font-size: 14px; gap: 0 20px; font-weight: 600;}
.tabs__select > li {cursor: pointer; color:#AFAFB6; padding: 0 10px 10px 10px;}
.tabs__select > li.is-active {color: var(--tt); box-shadow: inset 0 -2px var(--accent);}
.tabs__select > li:not(.is-active):hover {color: var(--accent);}
.page__rating {position: relative; padding: 0 0 10px 0 !important;}
.page__rating .rating {width: 136px; height: 27px; position: relative; top: -5px;}
.page__rating .unit-rating {transform: scale(1.6,1.6); transform-origin: 0 0;} 
.page__rating-votes {position: absolute; width: 100%; left: 0; top: -16px; color: var(--tt-darker); font-size: 10px;}
.page__author {font-size: 12px;}
.page__author a:hover {text-decoration: underline;}

.page__text, .page__tags {margin-bottom: 20px;}
.page__tags {border-top: 1px solid var(--bdc-lighter); padding-top: 20px; gap: 10px 5px; font-size: 0;}
.page__tags a {display: flex; align-items: center; white-space: nowrap; height: 36px; border-radius: 3px; 
	padding: 0 10px; font-size: 14px; color: var(--tt-darker-2); 
	border: 1px solid var(--bdc-lighter); background-color: var(--bg-lighter-2);}
.page__tags a:hover {background-color: var(--bg-lighter); border-color: var(--accent); color: var(--tt);}
/* Translator card grid — pure CSS, no JS */
.page__translators {background: var(--bg-lighter-2); border-radius: 8px; padding: 20px; margin-bottom: 40px; border-left: 3px solid var(--accent);}
.page__translators-header {display: flex; align-items: center; gap: 8px; margin-bottom: 16px;}
.page__translators-icon {font-size: 16px; color: var(--accent);}
.page__translators-title {font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--tt-darker); letter-spacing: 0.8px;}
.page__translators-teams {display: flex; flex-wrap: wrap; gap: 12px; font-size: 0;}
.page__translators-teams a {
	position: relative; display: block; text-align: center;
	flex: 1 1 150px; max-width: calc(50% - 6px); min-width: 150px;
	padding: 18px 14px 50px;
	background: var(--bg-lighter); border-radius: 10px; border-bottom: 3px solid var(--accent);
	text-decoration: none; font-size: 13px; font-weight: 700; color: var(--tt);
	line-height: 1.3; word-break: break-word; transition: transform 0.15s;
}
.page__translators-teams a::before {
	content: "";
	display: block; width: 46px; height: 46px; border-radius: 50%;
	background: rgba(255,163,50,0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffa332'%3E%3Cpath d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E") center/22px no-repeat;
	margin: 0 auto 10px;
}
.page__translators-teams a::after {
	content: "\2665  Отблагодарить";
	position: absolute; bottom: 14px; left: 14px; right: 14px;
	background: var(--accent); color: #000;
	font-size: 11px; font-weight: 700;
	padding: 6px 10px; border-radius: 14px; box-sizing: border-box; text-align: center;
}
.page__translators-teams a:hover {transform: translateY(-2px);}
.page__translators-teams a:hover::after {background: var(--accent-darker);}
.lt-is-active .page__translators {background: #f0f0f0;}
.lt-is-active .page__translators-teams a {background: #fff; color: #111;}
.page__translators-teams.no-links {font-size: 14px; color: var(--tt);}
.page__sect-title {text-transform: uppercase; font-size: 18px; font-weight: 700; margin-bottom: 20px;}
.page__sect + .page__sect {margin-top: 40px;}

.page__activity {display: grid; grid-gap: 10px 30px; color: var(--tt-darker-2);
	grid-template-columns: repeat(auto-fill,minmax(300px,1fr));}
.page__activity-col {border-radius: 6px; padding: 20px; background-color: var(--bg-lighter-2);}
.page__activity-title {text-transform: uppercase; font-weight: 700; margin-bottom: 20px; position: relative;}
.page__activity-votes {position: absolute; right: 0; top: 0; font-size: 14px; white-space: nowrap;}
.page__activity-votes .fal {color: #ffc107; margin-right: 3px;}
.page__activity-votes > span:last-child {color: var(--tt-darker); margin-left: 6px;}
.page__activity-row {display: flex; align-items: center; justify-content: space-between; 
	margin-bottom: 10px; font-size: 14px; white-space: nowrap;}
.page__activity-subtitle {width: 90px;}
.page__activity-percent {font-weight: 700; width: 50px; text-align: right; color: var(--tt);}
.page__activity-quantity {text-align: right; width: 60px; color: var(--tt-darker);}
.page__activity-bar {flex-grow: 1; height: 8px; border-radius: 4px; background: var(--bdc); position: relative;}
.page__activity-bar-progress {position: absolute; left: 0; top: 0; height: 100%; border-radius: 4px; background: var(--accent);}
.page__activity-col--rates .page__activity-row:nth-child(2) .page__activity-bar-progress {background: #76db98;}
.page__activity-col--rates .page__activity-row:nth-child(3) .page__activity-bar-progress {background: #b7ea83;}
.page__activity-col--rates .page__activity-row:nth-child(4) .page__activity-bar-progress {background: #f6d757;}
.page__activity-col--rates .page__activity-row:nth-child(5) .page__activity-bar-progress {background: #fbb851;}
.page__activity-col--rates .page__activity-row:nth-child(6) .page__activity-bar-progress {background: #f17a54;}
.page__activity-col--rates .page__activity-subtitle {width: 50px;}
.page__activity-col--rates .page__activity-subtitle .fal {color: var(--tt-darker); margin-left: 6px;}

.page__chapters-list {display: grid; grid-gap: 10px;}
.cl__item {background-color: var(--bg-lighter-2); padding: 8px 12px; font-size: 14px;}
.cl__item-num {border-radius: 6px; line-height: 30px; padding: 0 8px;
	font-size: 11px; font-weight: 600; color: var(--tt-darker-2); background-color: var(--bg); margin-right: 12px;}
.cl__item-pages {color: var(--tt-darker-2); white-space: nowrap; margin-left: 15px;}
.cl__item-date {color: var(--tt-darker); margin-left: 15px; font-size: 11px; padding-right: 10px;}
.cl__itemAction {color: var(--tt-darker-2); background-color: rgba(255,255,255,.06); padding: 0;
	height: 32px; width: 32px; margin-left: 4px; font-size: 14px; border-radius: 50%; border: 1px solid transparent; transition: all .2s;}
.cl__itemAction:hover {background: rgba(255,163,50,.12); border-color: rgba(255,163,50,.2); color: var(--accent);}
.cl__itemAction-readed {background-color: #16a085; color: #fff;}
.cl__item-title a:hover {text-decoration: underline; color: var(--accent);}
.cl__item-author a {color: var(--tt-darker); font-size: 12px;}
.cl__item-author a:hover {color: var(--accent);}
.cl__action {background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
	border-radius: 8px; color: var(--tt-darker-2); font-size: 13px; font-weight: 500;
	padding: 8px 16px; cursor: pointer; transition: all .2s; white-space: nowrap;}
.cl__action:hover {background: rgba(255,163,50,.1); border-color: rgba(255,163,50,.2); color: var(--accent);}
.cl__action.active {background: var(--accent); border-color: var(--accent); color: #000; font-weight: 600;}
.cl__action span {margin-right: 6px;}
.page__chapters-list .pagination__pages {margin-top: -10px;}
.page__share {background-color: #4e6baf; padding: 10px;}

[v-cloak] {display: none;}

.sortable-placeholder{
	background: rgba(255,163,50,.1);
	height: 40px;
	border-radius: 6px;
}

.cl__grab {
	margin: 16px 0;
	border-bottom: 1px solid rgba(255,255,255,.06);
}
	.cl__grabTitle {
		display: inline-block;
		text-transform: uppercase;
		font: bold 12px/30px Arial;
		letter-spacing: 1px;
		padding: 0 16px;
		color: var(--tt-darker-2);
		background: var(--bg-lighter-2);
		margin-right: 5px;
		margin-bottom: 5px;
		border-radius: 6px;
		border: 1px solid rgba(255,255,255,.08);
	}
	.cl__grabTitle:hover {
		border-color: var(--accent);
		background: var(--accent);
		color: #000;
		text-decoration: none;
	}

.cl__editForm {
	margin-top: 16px;
	display: block;
	position: relative;
	background: var(--bg-lighter);
	border: 1px solid rgba(255,255,255,.06);
	border-radius: 12px;
	overflow: hidden;
}
.cl__editForm > div:first-child {
	padding: 16px; gap: 8px;
}
	.cl__editLoading {
		position: absolute;
		top:0;right:0;bottom:0;left:0;
		background: rgba(0,0,0,.85);
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 0 30px;
		text-align: center;
		font-size: 18px;
		line-height: 1.5;
		font-weight: 500;
		color: var(--tt);
		z-index: 900;
		-webkit-backdrop-filter: blur(4px);
		backdrop-filter: blur(4px);
	}

	.cl__editUpload {
		border: 2px dashed rgba(255,255,255,.1);
		display: flex;
		min-height: 100px;
		margin: 16px;
		padding: 20px 0;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		border-radius: 10px;
		position: relative;
		overflow: hidden;
		font-size: 13px;
		color: var(--tt-darker);
		transition: all .2s;
	}
	.cl__editUpload:hover, .cl__editUpload.highlight {
		border-color: var(--accent);
		background: rgba(255,163,50,.03);
	}
		.cl__editUpload input {
			position: absolute;
			top: -100px;
			left: 0;
			bottom: 0;
			width: 100%;
			cursor: pointer;
		}
		.cl__editUploadButton {
			font-size: 13px;
			color: #000;
			font-weight: 600;
			background: var(--accent);
			line-height: 38px;
			border-radius: 8px;
			padding: 0 20px;
			margin-bottom: 6px;
			transition: all .2s;
		}
		.cl__editUpload:hover .cl__editUploadButton {
			filter: brightness(.9);
			transform: translateY(-1px);
		}
		.cl__editUploadFiles {
			margin-top: 10px;
		}
			.cl__editUploadFile {
				font-family: monospace;
				color: var(--tt-darker);
				font-size: 11px;
				line-height: 17px;
			}

.cl__editImages {
	max-height: 600px;
	overflow: auto;
	list-style: none;
	display: flex;
	margin: 0 16px 16px;
	flex-wrap: wrap;
	gap: 10px;
	padding: 16px;
	border-radius: 10px;
	background: var(--bg-lighter-2);
	border: 1px solid rgba(255,255,255,.06);
}
	.cl__editImagesItem {
		position: relative;
		margin: 0;
		display: flex;
		width: 150px;
		height: 210px;
		background: var(--bg);
		align-items: center;
		justify-content: center;
		border-radius: 8px;
		overflow: hidden;
		border: 1px solid rgba(255,255,255,.06);
		cursor: move;
		transition: all .2s;
	}
	.cl__editImagesItem:hover {
		border-color: var(--accent);
		box-shadow: 0 0 0 1px var(--accent), 0 4px 12px rgba(0,0,0,.3);
	}
	.cl__editImagesItem.disabled {
		background: var(--bg-darkest);
		opacity: .5;
	}
	.cl__editImagesItem.disabled:after {
		content: '';
		position: absolute;
		top:0;right:0;bottom:0;left:0;
		background: rgba(0,0,0,.6);
	}

		.cl__editImagesItem-img {
			max-height: 210px;
			max-width: 100%;
			transition: .2s;
			object-fit: contain;
		}

		.cl__editImagesItem.disabled .cl__editImagesItem-img {
			filter: blur(6px) grayscale(1);
		}

		.cl__editImagesItem-num {
			position: absolute;
			font-size: 11px;
			font-weight: 700;
			left: 0;
			top: 6px;
			padding: 2px 8px;
			line-height: 20px;
			color: var(--accent);
			background: rgba(0,0,0,.7);
			border-radius: 0 6px 6px 0;
			-webkit-backdrop-filter: blur(4px);
			backdrop-filter: blur(4px);
		}
		.cl__editImagesItem-del {
			position: absolute;
			top: 0;
			right: 0;
			width: 0;
			height: 0;
			border: 18px solid transparent;
			border-top-color: rgba(220,38,38,.85);
			border-right-color: rgba(220,38,38,.85);
			transition: .2s;
			z-index: 5;
		}
		.cl__editImagesItem-del:hover {
			border-top-color: #dc2626;
			border-right-color: #dc2626;
		}
			.cl__editImagesItem-del:after {
				content: '\2715';
				position: absolute;
				left: -2px;
				bottom: 2px;
				font-size: 10px;
				color: #fff;
				font-weight: 700;
				width: 14px;
				height: 14px;
				text-align: center;
				line-height: 14px;
				background: none;
			}
		.cl__editImagesItem-undel {
			position: absolute;
			top: 50%;
			margin-top: -16px;
			left: 16px;
			right: 16px;
			line-height: 32px;
			color: #fff;
			background: var(--accent);
			text-align: center;
			font-size: 12px;
			font-weight: 600;
			z-index: 7;
			border-radius: 6px;
			transition: .2s;
		}
		.cl__editImagesItem-undel:hover {
			filter: brightness(.85);
		}
		.cl__editImagesItem-zoom {
			z-index: 4;
			background: rgba(255,255,255,.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E") no-repeat 50% 50%;
			background-size: 22px;
			width: 44px;
			height: 44px;
			position: absolute;
			top: 50%;
			left: 50%;
			margin: -22px 0 0 -22px;
			opacity: 0;
			cursor: zoom-in;
			border-radius: 50%;
			transition: .2s;
		}
		.cl__editImagesItem:hover .cl__editImagesItem-zoom {
			opacity: .7;
		}
		.cl__editImagesItem-zoom:hover {
			opacity: 1!important;
		}

.cl__imageExpander {
	position: fixed;
	top:0;right:0;bottom:0;left:0;
	background: rgba(0,0,0,.9);
	z-index: 1005;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}
	.cl__imageExpander img {
		max-width: 90%;
		max-height: 90%;
		border-radius: 8px;
		box-shadow: 0 8px 32px rgba(0,0,0,.5);
	}

.cl__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	padding: 12px 0;
}
	.cl__action + .cl__action {
		margin-left: 0;
	}

.cl__item {
	transition: background .2s;
	border-radius: 4px;
	margin-bottom: 2px;
}
.cl__item:hover {
	background-color: rgba(255,255,255,.04);
}
.cl__item.active {
	background: rgba(255,163,50,.1);
	border-left: 3px solid var(--accent);
}
	.cl__item-chbox {
		width: 16px;
		height: 16px;
		margin-right: 7px;
		cursor: pointer;
	}

.cl__editLabel {
	font-size: 12px; font-weight: 600; color: var(--tt-darker);
	padding-left: 4px; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .3px;
}

.comixEdit-input, .cl__editForm input[type="text"] {
	width: 100%; height: 40px; padding: 0 12px;
	background: var(--bg-lighter-2); border: 1px solid rgba(255,255,255,.08);
	border-radius: 8px; color: var(--tt); font-size: 14px;
	transition: border-color .2s;
}
.comixEdit-input:focus, .cl__editForm input[type="text"]:focus {
	border-color: var(--accent); outline: none;
}
.cl__editForm textarea.comixEdit-input {
	height: auto; padding: 12px; resize: vertical;
}

.comix-sort-list li {
	background: var(--bg-lighter-2); padding: 8px 14px; margin-bottom: 2px;
	border-radius: 6px; font-size: 13px; cursor: move; transition: background .2s;
	border: 1px solid rgba(255,255,255,.06);
}
.comix-sort-list li:hover { background: rgba(255,163,50,.06); border-color: rgba(255,163,50,.15); }

/* ── Light theme: Chapter editor ───────────────────────────────────── */
.lt-is-active .cl__action { background: rgba(0,0,0,.06); border-color: rgba(0,0,0,.1); color: #444; }
.lt-is-active .cl__action:hover { background: rgba(227,76,0,.08); border-color: rgba(227,76,0,.2); color: var(--accent); }
.lt-is-active .cl__action.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.lt-is-active .cl__editForm { background: var(--bg-lighter); border-color: rgba(0,0,0,.08); }
.lt-is-active .comixEdit-input, .lt-is-active .cl__editForm input[type="text"] {
	background: #fff; border-color: rgba(0,0,0,.12); color: #222;
}
.lt-is-active .cl__editUpload { border-color: rgba(0,0,0,.15); color: #888; }
.lt-is-active .cl__editUpload:hover { border-color: var(--accent); background: rgba(255,163,50,.03); }
.lt-is-active .cl__editImages { background: rgba(0,0,0,.03); border-color: rgba(0,0,0,.06); }
.lt-is-active .cl__editImagesItem { background: #fff; border-color: rgba(0,0,0,.08); }
.lt-is-active .cl__editImagesItem:hover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.lt-is-active .cl__editImagesItem-num { color: #fff; background: rgba(0,0,0,.6); }
.lt-is-active .cl__editImagesItem.disabled { background: #f5f5f5; }
.lt-is-active .cl__editImagesItem.disabled:after { background: rgba(255,255,255,.7); }
.lt-is-active .cl__item:hover { background-color: rgba(0,0,0,.03); }
.lt-is-active .cl__item.active { background: rgba(227,76,0,.06); }
.lt-is-active .cl__itemAction { background: rgba(0,0,0,.05); color: #666; }
.lt-is-active .cl__itemAction:hover { background: rgba(227,76,0,.1); color: var(--accent); }
.lt-is-active .cl__grabTitle { background: #f5f5f5; color: #555; border-color: rgba(0,0,0,.1); }
.lt-is-active .cl__grabTitle:hover { background: var(--accent); color: #fff; }
.lt-is-active .cl__grab { border-bottom-color: rgba(0,0,0,.06); }
.lt-is-active .comix-sort-list li { background: rgba(0,0,0,.02); border-color: rgba(0,0,0,.06); }
.lt-is-active .sortable-placeholder { background: rgba(227,76,0,.08); }
.lt-is-active .cl__editLoading { background: rgba(255,255,255,.9); color: #222; }
.lt-is-active .cl__editImagesItem-undel { color: #fff; }
.lt-is-active .cl__editUploadButton { color: #fff; }

/* TEXT BLOCK, TYPOGRAPHY, VIDEO BLOCK
----------------------------------------------- */
.full-text {line-height: 1.6; font-size: 16px; word-wrap: break-word; color: var(--tt-darker-2);}
.full-text a {text-decoration: underline; color: var(--accent-3);}
.full-text img:not(.emoji), .full-text p, .full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5, 
.full-text > ul, .full-text > ol, .full-text table, .page__title {margin-bottom: 20px;}
.full-text > img[style*="left"], .full-text > .highslide img[style*="left"] {margin:0 10px 10px 0;}
.full-text > img[style*="right"], .full-text > .highslide img[style*="right"] {margin:0 0 10px 10px;}
.full-text > ul li, .full-text > ol li {padding-left: 60px; position: relative;}
.full-text > ul li:before {content: ''; width: 8px; height: 8px; border-radius: 50%; 
	border: 3px solid var(--accent); position: absolute; top: 5px; left: 34px;}
.full-text > ol {counter-reset: num;}
.full-text > ol li:before {content: counter(num); counter-increment: num; background-color: var(--accent); color: #fff; 
	position: absolute; top: -2px; left: 17px; width: 24px; height: 30px; font-size: 14px; font-weight: 600;
	display: flex; justify-content: flex-end; align-items: center; padding-right: 6px; box-sizing: border-box;}
.full-text > ol li:after {content: ''; border: 10px solid transparent; border-left-color: var(--accent); 
	position: absolute; left: 41px; top: -2px; transform: scale(0.66,1.5); transform-origin: 0 0;}
.full-text > ul li + li, .full-text > ol li + li {margin-top: 10px;}
.full-text table, .video-inside > * {width:100%;}
.full-text table tr td {padding:10px; border:2px solid #fff;}
.full-text table tr:nth-child(2n+1) {background-color:#f2f6f9;} 
.full-text table tr:nth-child(1) {background-color:#cee0ed;}
.full-text table img:not(.emoji) {margin:0; max-width:350px}
.full-text > *:last-child {margin-bottom: 0;}
.video-responsive {padding-top: 60%; position: relative;}
.video-responsive > iframe, .video-responsive > video {position: absolute; left: 0; top: 0; width: 100%; height: 100%;}
.full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5 {font-size: 21px;}
.full-text iframe {width: 100%; height: 400px; margin-bottom: 20px;}


/* COMMENTS
----------------------------------------------- */
.page__comments {margin: 0; margin-left: 325px; padding: 30px 0;}
.page__comments-title {font-size: 22px; font-weight: 600; margin-bottom: 20px;}
.page__comments-info {font-size: 14px; margin-bottom: 15px; margin-top: -15px; 
	color: var(--tt-darker); line-height: 1.5;}
.page__comments-info .fal {color: #eb4d4b; margin-right: 6px;}
.page__comments-list {padding: 0;}
.page__comments-list--not-comments {padding: 0; border: 0;}
.add-comments-form.form {padding: 0; margin-bottom: 20px;}
.add-comments-form .form__input, .add-comments-form__input, .add-comments-form .form__textarea-inside textarea, 
.mass_comments_action select {border-radius: 0;}
.add-comments-form__input, .comm-spoiler {margin-left: 20px;}
.add-comments-form .d-none, .comments_subscribe + br, .comments_subscribe, .bb-editor + br {display: none;}
.mass_comments_action {display: flex; align-items: center; max-width: 800px; white-space: nowrap; margin-bottom: 20px;}
.mass_comments_action select {flex: 1 1 0; margin: 0 -8px 0 20px;}
.mass_comments_action .bbcodes {border-radius: 0; padding: 0 10px;}

.comment-item__title {font-weight: 600; font-size: 18px; margin-bottom: 20px;}
.comment-item {margin-bottom: 10px; padding: 15px 20px; border-radius: 6px; background: var(--bg-lighter);}
.comment-item__img {width: 40px; height: 40px; border-radius: 50%; margin-right: 10px;}
.comment-item__letter {width: 100%; height: 100%; text-transform: uppercase; font-weight: 600; 
	position: absolute; left: 0; top: 0; z-index: 5; color: #fff; font-size: 18px;}
.comment-item__author {font-weight: 600; font-size: 14px;}
.comment-item__date {color: var(--tt-darker); margin-top: 4px; font-size: 12px;}
.comment-item__main {margin: 8px 0 6px 0; font-size: 15px;}
.comment-item__rating {white-space: nowrap; font-size: 10px; color: var(--tt-darker);
	padding: 6px 10px 6px 6px; border-radius: 4px; background: var(--bg); text-transform: uppercase;}
.comment-item__rating .fal {color: #03b82a; margin-right: 3px; font-size: 12px;}
.comment-item__rating a {color: var(--tt-darker);}
.zcomm-likes {color: var(--tt-darker-2); font-size: 12px;}
.comment-item__rating:hover, .comment-item__rating:hover a {color: var(--tt);}
.comment-item__reply a {font-size: 12px; color: var(--tt-darker);}
.comment-item__reply a .fal {margin-left: 5px;}.comment-item__rating-likes .fas {argin-right: 5px;}
.comment-item__reply + .comment-item__reply a .fal {margin-left: 20px; margin-right: 5px;}
.comment-item__controls {font-size: 12px; margin: 0 -15px 0 15px; justify-content: flex-end; gap: 10px 10px;}
.comment-item__controls li {height: 16px; line-height: 16px;}
.comment-item__controls a:not(:hover) {color: var(--tt-darker);}
.comment-item__footer a:hover {text-decoration: underline;}
.comment-item__rating a:hover > span:first-child {text-decoration: none;}
.comment-item__controls .checkbox {transform: scale(0.8,0.8); margin-left: 5px;}
.comment-item__main--spoiler {position: relative; cursor: pointer; color: var(--tt-darker-2);}
.comment-item__main--spoiler .full-text {filter: blur(6px); opacity: 0.8;}
.comment-item__main--spoiler:before {content: 'Спойлер. Кликните, чтобы показать.'; position: absolute; left: 0; top: 0; 
	width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; text-align: center;}
.comment-item__main--spoiler:hover::before {text-decoration: underline;}

.comment__hidden {display: none}
.comment__hideInfo {opacity: 0.6}
.comment__showBtn {
	color: var(--tt)!important;
	text-decoration: underline;
}
.comment__showBtn:hover {
	color: var(--accent)!important;
}


/* FOLLOWED BUTTON
----------------------------------------------- */
.js-follow-status .js-follow-unsub {display: none;}
.js-follow-status.is-active .js-follow-sub {display: none;}
.js-follow-status.is-active .js-follow-unsub {display: block;}

.js-follow-status {}
.js-follow-status.is-active {
	background-color: #b22525;
	color: var(--tt-darker-2)!important;
}
.readed .js-follow-status.is-active {
	background-color: var(--ui-bg-darkest);
}
.js-follow-status.is-active:hover {
	background-color: var(--accent-darker);
}
.js-follow-status span.fa:before {
	content: "\f00c";
	margin-right: 8px;
}
.js-follow-status.is-active span.fa:before {
	content: "\f068";
}

/* LOGIN (перенесено из login.tpl)
----------------------------------------------- */
.login {
	position: fixed; z-index: 999; left: 50%; top: 50%; transform: translate(-50%,-50%);
	overflow: hidden; width: 420px; border-radius: 16px;
	background: var(--ui-bg);
	box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 24px 80px rgba(0,0,0,.8);
	animation: loginFadeIn .2s ease-out;
}
@keyframes loginFadeIn {
	from { opacity: 0; transform: translate(-50%,-50%) scale(.96); }
	to   { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.login__header {
	padding: 20px 24px;
	background: linear-gradient(135deg, rgba(255,163,50,.08) 0%, transparent 60%);
	border-bottom: 1px solid rgba(255,255,255,.06);
	display: flex; justify-content: space-between; align-items: center;
}
.login__user {display: flex; align-items: center; gap: 14px; min-width: 0;}
.login__avatar {
	width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
	box-shadow: 0 0 0 2px rgba(255,163,50,.3); overflow: hidden;
}
.login__avatar img {width: 100%; height: 100%; object-fit: cover; display: block;}
.login__info {min-width: 0;}
.login__name {
	font-size: 18px; font-weight: 700; color: var(--tt);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.login__group {font-size: 13px; color: var(--accent); margin-top: 2px; font-weight: 600;}
.login__close {
	width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
	border-radius: 50%; cursor: pointer; font-size: 18px;
	color: var(--tt-darker); transition: all .2s; flex-shrink: 0;
}
.login__close:hover {background: rgba(255,255,255,.08); color: var(--tt);}
.login__reg-link {font-size: 13px; color: var(--accent) !important; text-decoration: underline !important;}
.login__admin-link {
	display: flex; align-items: center; gap: 8px;
	padding: 10px 24px; font-size: 12px; font-weight: 600;
	color: var(--accent) !important; text-transform: uppercase; letter-spacing: .5px;
	background: rgba(255,163,50,.05); border-bottom: 1px solid rgba(255,255,255,.06);
	transition: background .2s;
}
.login__admin-link:hover {background: rgba(255,163,50,.1); text-decoration: none !important;}
.login__admin-link .fal {font-size: 14px;}
.login__menu {
	display: flex; flex-wrap: wrap;
	padding: 16px !important; gap: 8px; margin: 0 !important; list-style: none;
}
.login__menu li {flex: 1 1 calc(50% - 4px); min-width: calc(50% - 4px); margin: 0 !important;}
.login__menu a {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 6px; padding: 16px 10px; border-radius: 10px;
	background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
	font-size: 13px; font-weight: 500; color: var(--tt-darker-2);
	text-decoration: none !important; white-space: nowrap; transition: all .2s;
}
.login__menu a:hover {
	background: rgba(255,163,50,.08); border-color: rgba(255,163,50,.2);
	color: var(--accent); transform: translateY(-1px);
}
.login__menu .fal {display: block; font-size: 22px; opacity: .45; transition: all .2s; height: auto;}
.login__menu a:hover .fal {opacity: .85; color: var(--accent);}
.login__menu-logout {flex: 1 1 100% !important; min-width: 100% !important;}
.login__menu-logout a {
	flex-direction: row; padding: 12px 16px;
	background: transparent; border-color: transparent;
	font-size: 13px; color: var(--tt-darker) !important; gap: 8px;
}
.login__menu-logout a:hover {
	background: rgba(229,57,53,.08); border-color: transparent;
	color: #e53935 !important; transform: none;
}
.login__menu-logout .fal {font-size: 16px; opacity: .5;}
.login__menu-logout a:hover .fal {color: #e53935; opacity: .8;}
.login__title {font-size: 18px; font-weight: 600; padding: 1px 0; text-transform: capitalize;}
.login__title a {border-bottom: 1px dotted var(--tt-darker); margin-left: 10px; font-weight: 400; color: var(--tt-darker);}
.login__content {padding: 20px 24px;}
.login__row {margin-bottom: 20px; position: relative; display: block; font-size: 14px; color: var(--tt-darker);}
.login__caption {font-size: 14px; color: var(--tt); margin-bottom: 10px;}
.login__caption a {text-decoration: underline; margin-left: 6px; color: var(--accent);}
.login__input input {padding-left: 40px; border-radius: 8px;}
.login__row .fal {opacity: 0.7; position: absolute; left: 0; bottom: 0; line-height: 40px; width: 40px; text-align: center;}
.login__row button {width: 100%; border-radius: 10px; height: 44px; font-size: 14px;}
.login__social {background-color: var(--ui-bg-darker); padding: 20px 24px; text-align: center;}
.login__social-caption {font-size: 11px; text-transform: uppercase; margin-bottom: 10px;}
.login__social-btns a {display:inline-block; margin: 0 3px; vertical-align:top;}
.login__social-btns img {display:block; width:30px; height: 30px; border-radius: 50%;}

/* Login — Light theme */
.lt-is-active .login {box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 24px 80px rgba(0,0,0,.25);}
.lt-is-active .login__header {
	background: linear-gradient(135deg, rgba(227,76,0,.05) 0%, transparent 60%);
	border-bottom-color: var(--bdc-lighter);
}
.lt-is-active .login__avatar {box-shadow: 0 0 0 2px rgba(227,76,0,.25);}
.lt-is-active .login__close:hover {background: rgba(0,0,0,.06);}
.lt-is-active .login__admin-link {background: rgba(227,76,0,.04); border-bottom-color: var(--bdc-lighter);}
.lt-is-active .login__menu a {background: rgba(0,0,0,.03); border-color: rgba(0,0,0,.06);}
.lt-is-active .login__menu a:hover {background: rgba(227,76,0,.06); border-color: rgba(227,76,0,.15);}
.lt-is-active .login__menu-logout a:hover {background: rgba(229,57,53,.06);}


/* Owl Carousel CSS removed — using native scroll-snap */


/**
 * Xfilter
 */
#xfilter[v-cloak] {display: none}
.xfilter__form {
	margin-right: -6px;
}
	.xfilter__filterItem {
		position: relative;
		margin: 0 6px 6px 0;
		flex: 1;
		min-width: 270px;
		max-width: 400px;
	}
		.xfilter__filterItem-group {
			display: block;
			position: relative;
			height: 46px;
			padding: 5px 35px 5px 12px;
			font-size: 13px;
			line-height: 18px;
			background: var(--bg-lighter);
			color: var(--tt);
			border-radius: 2px;
			box-shadow: 0 2px 3px rgba(0,0,0,.1);
			transition: background .2s;
		}
		.xfilter__filterItem-group:after {
			position: absolute;
			top: 0;
			right: 0;
			bottom: 0;
			width: 35px;
			display: flex;
			justify-content: center;
			align-items: center;
			content: "\f078";
			font-family: 'font awesome 5 pro';
			font-weight: 600;
			font-size: 12px;
			transition: transform .3s;
		}
		.xfilter__filterItem.xf-open .xfilter__filterItem-group:after {
			/*content: '\f077';*/
			transform: rotate(180deg);
		}
		.xfilter__filterItem-group:hover {
			background: var(--bg-lighter-2);
		}

			.xfilter__filterItem-label {
				font-size: 15px;
				line-height: 36px;
				color: var(--tt);
				cursor: inherit;
			}
			.xfilter__filterItem.xf-active .xfilter__filterItem-label {
				font-size: 12px;
				line-height: inherit;
				opacity: .4;
			}

			.xfilter__filterItem-content {
				white-space: nowrap;
				overflow: hidden;
				text-overflow: ellipsis;
			}
		.xfilter__dropdown {
			display: none;
			position: absolute;
			top: 100%;
			left: 0;
			right: 0;
			background: var(--bg-lighter);
			box-shadow: 0 3px 14px rgba(0,0,0,.8);
			border-top: 2px solid #d95e01;
			z-index: 98;
			border-radius: 0 0 3px 3px;
		}
		.xfilter__filterItem.xf-open .xfilter__dropdown {
			display: block;
		}
			.xfilter__dropdown-search {
				display: block;
				width: 100%;
				padding: 0 10px 0 40px;
				height: 35px;
				background: var(--bg) url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARFJREFUeNps0cFLAkEUx/HZFApNOnbUg+AtOhoIUcdIEMKbd10xgs5d/AMMOrTrvyAEHUNIRBCEEItuHQLxD5Ak6tj6ffhGltwHH2bWnd+8cdYJgsBI+b5fYmjiwKzqBbeu63ZMqBwJsLjF/BpfeMU2DpFAg9D9OuB5Xk0aYIwqLyfascDQRhYFfpf3ZgtXmKNsF0sxHzLUtNslGzg2kMM7C6Zms94wwxFSNiDJuImuHe3wg8AGRsjT8jQicIx9DDjBt9Gdb9DDHSE584dudIKWBp/+X2udub26T8SQCXV6RIUuv07owxUZzvUP/qGLPmSzop7iYh2wRXBPr3Whz7sM8rXP8LwRiCpCSYYHpJcCDADilV4AMbStnwAAAABJRU5ErkJggg==) no-repeat 14px 50%;
				color: var(--tt);
				border: none;
				border-bottom: 1px solid #151515;
				font-size: 13px;
				font-family: inherit;
			}
			.xfilter__dropdown-list {
				list-style: none;
				margin: 0;
				padding: 5px 0;
				max-height: 410px;
				overflow: auto;
			}
			.xfilter__dropdown-list::-webkit-scrollbar {
				width: 6px;
				background: var(--ui-bg-darker);
			}
			.xfilter__dropdown-list::-webkit-scrollbar-thumb {
				background-color: var(--tt-darker);
				border: 0;
			}
				.xfilter__dropdown-listItem {
					position: relative;
					display: flex;
					height: 40px;
					font-size: 14px;
					line-height: 17px;
					padding: 0 15px 0 43px;
					align-items: center;
					cursor: pointer;
					transition: background .2s;
				}
				.xfilter__dropdown-listItemValue::first-letter {
					text-transform: uppercase;
				}

				.xfilter__dropdown-listItem:after {
					content: '';
					position: absolute;
					top: 50%;
					margin-top: -8px;
					left: 15px;
					box-sizing: border-box;
					width: 16px;
					height: 16px;
					border: 2px solid #999;
					border-radius: 2px;
				}
				.xfilter__dropdown-listItem.is-active {
					/*background: var(--bg-darkest);*/
				}
				.xfilter__dropdown-listItem.is-active:after {
					content: '\f00c';
					font-family: 'font awesome 5 pro';
					border-color: transparent;
					background: #D95E01;
					color: #fff;
					font-size: 11px;
					line-height: 13px;
					text-align: right;
				}
				.xfilter__dropdown-listItem:hover {
					background: var(--bg);
				}
			.xfilter__dropdown-range {
				padding: 12px;
			}
				.xfilter__dropdown-rangeBlock {
					position: relative;
				}
				.xfilter__dropdown-rangeBlock + .xfilter__dropdown-rangeBlock {
					margin-top: 8px;
				}
					.xfilter__dropdown-rangeLabel {
						position: absolute;
						top: 0;
						left: 12px;
						font-size: 13px;
						opacity: .6;
					}
					.xfilter__dropdown-rangeInput {
						height: 46px!important;
						padding: 13px 12px 0!important;
					}


/* ADAPTIVE, MOBILE MENU
----------------------------------------------- */
.overlay {position: fixed; z-index: 998; left: 0; top: 0; width: 100%; height: 100%; 
	opacity: 0.6; background-color: #000; cursor: pointer; display: none;}
.mobile-menu {width: 280px; height: 100%; overflow-x: hidden; overflow-y: auto;
	padding: 10px 20px; z-index: 999; position: fixed; left: -320px; top: 0; transition: left .4s; 
	background-color: var(--bg-lighter); color: var(--tt);}
.mobile-menu.is-active {left: 0;}
.mobile-menu-close {cursor: pointer; display: block; left: 280px; top: -40px; position: fixed; z-index: 999;
	width: 40px; height: 40px; line-height: 40px; text-align: center; font-size: 18px; opacity: 0;
	background-color: #e84e36; color: #fff; transition: top .4s, opacity .4s;}
.mobile-menu-close.is-active {top: 0px; opacity: 1;}
body.mobile-menu-is-opened {overflow: hidden; width: 100%; height: 100%;}
.mobile-menu .header__menu {margin: 0; padding: 10px 20px; display: flex; background: var(--bg-3); 
	width: calc(100% + 40px); margin: -10px -20px 25px -20px; max-width: none;}
.mobile-menu .header__menu > li {width: 100%; margin: 0; padding: 0;}
.mobile-menu .header__menu > li > a {height: 40px;}
.mobile-menu .header__menu .nav__list {position: static; width: calc(100% + 40px); opacity: 1; visibility: visible; 
	background-color: var(--bg); box-shadow: none; margin: 10px -20px; padding: 10px;}
.mobile-menu .header__menu .nav__list a {background-color: var(--bg-lighter); padding: 6px;}
.mobile-menu .header__menu > li:first-child {order: 10;}
.mobile-menu .header__menu li > div {display: none;}

@media screen and (max-width: 1400px) {
	.wrapper-container {max-width: 1260px;}
	.cols {grid-template-columns: 340px minmax(0,1fr); grid-gap: 50px 30px;}
}

@media screen and (max-width: 1220px) {
	body {background-image: none;}
	.wrapper {padding: 0; background-image: none; overflow: hidden;}
	.wrapper-container {max-width:1000px;}
	.header__menu {display: none;}
	.header {padding-top: 15px; padding-bottom: 15px;}
	.header__search {width: auto; flex: 1 1 0; max-width: 100%; min-width: 60px;}
	.header__btn-menu {font-size: 40px; cursor: pointer; display: block; margin-left: 20px;}
	.header__btn-ctrl--hide-mobile {display: none;}
	#scrolltop {width: 40px; height: 40px; line-height: 40px; font-size: 18px;}
	.carou__content > .poster {width: calc((100% - 100px)/6);}
	.cols {grid-gap: 50px 20px; grid-template-columns: 280px minmax(0,1fr);}
	.lightstat_sander_head {padding-right: 20px; font-size: 16px;}
	.scroller-2, .scroller {white-space: nowrap; overflow-y: hidden; overflow-x: auto; 
		display: block !important; grid-gap: 0 0 !important;}
	.scroller-2 > .poster, .scroller > .poster {display: inline-block; vertical-align: top; 
		width: 132px; margin-right: 13px; white-space: normal;}
	.footer__desc {width: 100%; text-align: center; margin-bottom: 30px;}
	.footer {text-align: center;}
	.footer .soc-channels {justify-content: center;}
	.footer .soc-channels__item {margin: 0 10px;}
	.scroller-2, .scroller {padding-bottom: 15px; scrollbar-width: thin; scrollbar-color: var(--tt-darker) var(--bdc);}
	.scroller::-webkit-scrollbar {width: 12px; height: 8px;}
	.scroller::-webkit-scrollbar-thumb {border-radius: 0; background-color:var(--tt-darker); border: 0;}
	.scroller::-webkit-scrollbar-track {background-color:var(--bdc);}
	.scroller {margin-bottom: -30px; padding-bottom: 30px;}
	.readed__info li > span:first-child {display: inline; width: auto;}
	.sect__genres {display: none;}
	.sect__genres.is-active {display: grid;}

	.tabs__block::before {display: none;}
	.page__left {padding: 0; border: 0; background: none; margin-bottom: 10px;}
	.page__grid {grid-template-columns: minmax(0,1fr); margin-left: -20px; margin-right: -20px; 
		grid-template-areas: "pheader" "pleft" "pmain"; padding: 30px 20px; background-color: var(--bg-lighter); 
		border: 1px solid var(--bdc-lighter); border-left: 0; border-right: 0; grid-template-rows: auto;}
	.page__comments {margin: 0 0 -40px 0;}
}

@media screen and (max-width: 1220px) and (min-width: 760px) {
	.page__left {display: grid; grid-gap: 20px 20px; grid-template-columns: 270px minmax(0,1fr); grid-auto-flow: row dense;}
	.page__poster {grid-row: span 2; margin: 0;}
	.page__btns {display: flex; flex-wrap: wrap; gap: 8px;}
	.page__btn-read, .page__btn-continue {flex: 1 1 100%;}
	.page__btns-pair {flex: 1 1 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;}
	.page__btn-sec--full {flex: 1 1 auto;}
	.page__btns-tertiary {flex: 1 1 100%; justify-content: flex-start;}
	.page__btns > *:not(.page__btns-pair):not(.page__btns-tertiary):not(.page__btn-read):not(.page__btn-continue):not(.page__btn-sec--full) {flex: 1 1 0; min-width: auto; max-width: 100%; white-space: nowrap;}
}

@media screen and (max-width: 950px) {
	.wrapper-container {max-width:768px;}
	.carou__content > .poster {width: calc((100% - 80px)/5);}
	.cols {grid-gap: 50px 20px; grid-template-columns: minmax(0,1fr);}
	.col-main {grid-column: 1 / -1;}
	.col-side {order: 0;}
	.sect--latest .block-bg {border-radius: 0; margin-left: -20px; margin-right: -20px;}
	
	.tabs__select {gap: 20px 20px; text-align: center;}
	.tabs__select > li {flex: 1 1 0; min-width: auto; max-width: 100%; white-space: nowrap; 
		padding-left: 0; padding-right: 0; font-size: 12px; box-shadow: inset 0 -2px var(--bdc);}
	.page__rating .rating {left: -25px;}
	.page .sect--hot .sect__content {margin-bottom: 0 !important;}
	.page__activity {grid-template-columns: minmax(0,1fr);}
}

@media screen and (max-width: 760px) {
	.wrapper-container {max-width:640px;}
	.header__logo {flex: 1 1 0; min-width: 40px; max-width: 100%;}
	.header__search {min-width: 100%; margin: 0; margin-top: 15px; order: 10;}
	#js-view-mode-switch .view-mode-switch__btn {padding: 10px 14px; font-size: 12px;}
	.carou__content > .poster {width: calc((100% - 40px)/3);}
	.footer__menu {width: 100%; margin-bottom: 30px;}
	.footer__menu:last-child {margin-bottom: 0;}
	.footer__desc br {display: none;}
	.readed {padding: 10px; align-items: center;}
	.readed__desc {min-width: 100%; margin-bottom: 10px; order: -1; display: block;}
	.readed__progress {flex: 1 1 0; min-width: 100px; max-width: 100%; margin-left: -10px;}
	.readed__meta {margin-bottom: 6px; font-size: 11px;}
	.readed__title {font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
	.readed__info {font-size: 13px;}
	.sect__btn {width: 100%; margin: 0; margin-top: 10px;}
	h1.sect__title {text-align: center;}
	.sect__sort {width: 100%; line-height: 3; margin-top: 10px;}
	.sect__sort a {margin: 0 10px 0 0;}
	
	.page__grid {padding-top: 20px;}
	.page__poster {width: 240px; height: auto; margin-left: auto; margin-right: auto;}
	.page__poster img {width: 100%; height: 100%; object-fit: cover;}
	.page__header, .cols--full .speedbar {text-align: center;}
	.speedbar {padding-top: 6px;}

	.page__text .quote {margin-left: var(--indent-negative); margin-right: var(--indent-negative); padding-right: var(--indent);}
	.full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5 {font-size: 18px;}
	
	.add-comments-form__input {min-width: 100%; margin: 0 0 10px 0; order: -1;}
	.add-comments-form__btn123 {width: 100%; order: 10;}
	.add-comments-form .form__row--protect .form__caption {width: 100%; margin: 0 0 10px 0;}
	.mass_comments_action, .comment-item__controls123 li:not(.comment-item__controls-complaint), 
	.comment-item__rating-caption, .comment-item__controls .checkbox {display: none;}
}

@media screen and (max-width: 590px) {
	.wrapper-container {max-width:480px;}
	.login { width: 92vw !important; max-height: 90vh; overflow-y: auto; border-radius: 12px; }
	.login__header { padding: 16px; }
	.login__menu { padding: 12px !important; gap: 6px; }
	.login__menu a { padding: 12px 8px; font-size: 12px; }
	.login__content { padding: 16px; }
	.login__avatar { width: 44px; height: 44px; }
	.pages-bg {padding-left: 20px; padding-right: 20px;}
	#dle-content, .d-grid, .sect__genres, .searchXfield {grid-template-columns: repeat(auto-fill,minmax(140px,1fr));}
	.header__logo.uauth .logo__title {font-size: 0;}
	.comment-item__rating {font-size: 0;}
	.page__rating {order: 10;}
	.page__rating-votes {text-align: right;}
	.page__rating .rating {left: 0;}
	.page__activity-col {padding: 0; background: none;}
	.page__activity-title {font-size: 14px;}
	.page__comments-title {font-size: 18px;}
	.comment-item {margin: 0 -20px 5px -20px; border-radius: 0;}
	.cl__item {gap: 10px 10px; padding: 10px; border: 1px solid var(--bdc); margin-bottom: 10px;}
	.cl__item > *, .cl__itemAction {margin: 0;}
	.cl__item-num {order: -2;}
	.cl__item-title {min-width: calc(100% - 56px); order: -1; font-weight: 600; font-size: 16px;}
	.cl__item-title a {padding: 3px 0; display: block;}
	.cl__item-author {flex: 1 0 50%;}
	.cl__item-date {flex: 1 0 40%;}
	.cl__item-actions {gap: 5px 5px; display: flex; align-items: center;}
}

@media screen and (max-width: 470px) {
	.wrapper-container22 {max-width:360px;}
	.header__logo {margin: 0;}
	.header__logo .logo__title {font-size: 18px; letter-spacing: 1px;}
	.header__logo > * {white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
	.header__btn-login {font-size: 0; width: 40px; height: 40px; border-radius: 50%; margin: 0 -10px 0 20px;
		padding: 0; background-color: var(--bdc); text-align: center; line-height: 40px;}
	.header__btn-login .fal {font-size: 16px; margin: 0; width: 40px; line-height: 40px;}
	.carou__content > .poster {width: calc((100% - 20px)/3);}
	.scroller .poster__title {font-size: 14px;}
	.scroller .poster__subtitle {font-size: 12px;}
	.scroller > .poster {width: calc((100vw - 20px)/3);}
    .header__btn-ctrl--od {display: none;}

    .page__grid {display: block;}
	.page__grid > * + * {margin-top: 20px;}
    
}


.favorites__movetoList {gap: 10px 10px;}
.favorites__movetoList button {border-radius: 4px;}
@media screen and (max-width: 590px) {
	.comix__fullstory .cl__actions {gap: 10px 10px; flex-wrap: wrap;}
	.comix__fullstory .cl__actions button, .favorites__movetoList li, .favorites__tabs-item {margin: 0; flex: 1 0 auto; min-width: auto; white-space: nowrap; padding: 0 10px;}
	.comix__fullstory .cl__actions button span {display: none;}
	.favorites__movetoList li, .favorites__tabs-item {padding: 0;}
	.favorites__movetoList button {width: 100%;}
	.favorites__tabs {gap: 10px !important; flex-wrap: wrap !important; overflow: visible !important;}
	.favorites__tabs-item a {text-align: center; padding: 10px !important; border-radius: 4px; 
		background-color: var(--bg-lighter) !important; color: var(--tt) !important;}
	.favorites__tabs-item.is-active a {color: #fff !important; box-shadow: none !important; background-color: var(--accent) !important;}
}

.wrapper-container {display: block !important;}
.content {min-height: 80vh;}

#NoPoster {
    width: 240px;
    height: 360px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #fff;
    padding-left: 41px;
}

#NoPoster::before {
    content: "Постер не найден";
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

#NoPoster::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.mce-accordion summary {
	cursor: pointer;
}

.self_delete_link {
	border: 0 none;
	display: inline-block;
	vertical-align: middle;
	cursor: pointer;
	padding: 12px 27px;
	border-radius: 10px;
	outline: none;
	background-color: #f44336;
	color: #fff;
	text-shadow: 0 1px #333;
	text-decoration: none !important;
	box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2);
	box-sizing: border-box;
	transition: all ease .1s; transition: all ease .1s;
}

.title_spoiler svg{
	vertical-align: middle;
	margin-top: -4px;
	margin-right: 7px;
	height: 16px;
	width: 16px;
}

.modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.7);
	z-index: 999;
	display: flex;
	justify-content: center;
	align-items: center;
}
.modal-dialog {
	background: #121212;
	max-width: 600px;
	padding: 30px;
	border-radius: 3px;
}
.modal-title {
	color: red;
	font-size: 18px;
	margin-bottom: 15px;
}
.modal-body {color: #ccc}
.modal-body p + p {margin-top: 5px}
.modal-footer {
	margin-top: 20px;
	display: flex;
	justify-content: center;
	gap: 10px;
}

.tabs__select-title {font-size: inherit;font-weight: inherit;margin: 0;padding: 0;display: inline;}
.cl__item-title {font-size: inherit;font-weight: inherit;margin: 0;}
.latest__desc h3.latest__title {font-weight: normal;font-size: inherit;margin: 0;}

/* USERINFO / PROFILE PAGE
----------------------------------------------- */
.uprofile {max-width: 900px; margin: 0 auto;}
.uprofile__hero {position: relative; border-radius: 12px; overflow: hidden; background-color: var(--bg-lighter);}
.uprofile__cover {height: 140px; position: relative;
	background: linear-gradient(135deg, #1a1206 0%, #2a1800 30%, #1a0f00 70%, #0d0d0d 100%); overflow: hidden;}
.uprofile__cover::before {content: ''; position: absolute; top:0;right:0;bottom:0;left:0;
	background: radial-gradient(ellipse 60% 80% at 20% 60%, rgba(255,163,50,0.15) 0%, transparent 70%),
	radial-gradient(ellipse 40% 60% at 80% 30%, rgba(245,0,87,0.08) 0%, transparent 60%);}
.uprofile__cover::after {content: ''; position: absolute; top:0;right:0;bottom:0;left:0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	opacity: 0.5;}
.uprofile__cover-gradient {position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
	background: linear-gradient(to top, var(--bg-lighter) 0%, transparent 100%);}
.uprofile__hero-body {display: flex; align-items: center; gap: 20px;
	padding: 0 24px 20px; margin-top: -50px; position: relative; z-index: 2;}

.uprofile__avatar-wrap {position: relative; flex-shrink: 0;}
.uprofile__avatar {width: 96px; height: 96px; border-radius: 50%; border: 3px solid var(--bg-lighter);
	box-shadow: 0 4px 20px rgba(0,0,0,0.5); background-color: var(--bg-lighter-2);}
.uprofile__avatar img {border-radius: 50%;}
.uprofile__status-dot {position: absolute; bottom: 4px; right: 4px; width: 16px; height: 16px;
	border-radius: 50%; border: 3px solid var(--bg-lighter); z-index: 3;}
.uprofile__status-dot--online {background-color: #4caf50; box-shadow: 0 0 8px rgba(76,175,80,0.6);}
.uprofile__status-dot--offline {background-color: var(--tt-darker);}

.uprofile__identity {flex: 1; min-width: 0;}
.uprofile__name {font-size: 22px; font-weight: 700; line-height: 1.2; margin: 0;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.uprofile__group {margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--accent);}
.uprofile__timelimit {color: var(--tt-darker); font-weight: 400; margin-left: 6px;}
.uprofile__status-label {display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 600;
	text-transform: uppercase; letter-spacing: 1px; padding: 3px 10px; border-radius: 10px;}
.uprofile__status-label--online {background-color: rgba(76,175,80,0.15); color: #4caf50;}
.uprofile__status-label--offline {background-color: rgba(141,141,141,0.15); color: var(--tt-darker);}

.uprofile__hero-actions {display: flex; align-items: center; gap: 10px; flex-shrink: 0;}
.uprofile__btn-edit {height: 44px; padding: 0 20px; font-size: 13px; font-weight: 600; border-radius: 8px;
	background: var(--accent); color: #000; cursor: pointer; display: inline-flex; align-items: center;
	gap: 8px; letter-spacing: 0; text-transform: none;}
.uprofile__btn-edit:hover {background: var(--accent-darker);}
.uprofile__btn-pm {width: 44px; height: 44px; display: inline-flex; align-items: center;
	justify-content: center; border-radius: 8px; background: var(--accent);
	color: #000; font-size: 16px; transition: all .2s;}
.uprofile__btn-pm:hover {background: var(--accent-darker); transform: translateY(-1px);}
.uprofile__btn-home {width: 44px; height: 44px; display: inline-flex; align-items: center;
	justify-content: center; border-radius: 8px; background: var(--bg-lighter-2);
	color: var(--tt-darker); font-size: 16px; transition: all .2s;}
.uprofile__btn-home:hover {background: var(--accent); color: #000;}

.uprofile__stats {display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
	margin-top: 16px; background: var(--bdc-lighter); border-radius: 12px; overflow: hidden;}
.uprofile__stat {background: var(--bg-lighter); padding: 20px 16px; text-align: center;
	display: flex; flex-direction: column; align-items: center; gap: 6px; transition: background .2s;}
.uprofile__stat:hover {background: var(--bg-lighter-2);}
.uprofile__stat-icon {font-size: 18px; color: var(--accent); opacity: 0.7;}
.uprofile__stat-value {font-size: 24px; font-weight: 700; line-height: 1; color: var(--tt);}
.uprofile__stat-label {font-size: 12px; color: var(--tt-darker); text-transform: uppercase; letter-spacing: 0.5px;}

.uprofile__meta {margin-top: 16px; background: var(--bg-lighter); border-radius: 12px; padding: 20px 24px;}
.uprofile__meta-grid {display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 30px;}
.uprofile__meta-item {display: flex; align-items: flex-start; gap: 12px;}
.uprofile__meta-icon {width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
	border-radius: 8px; background: var(--bg-lighter-2); color: var(--tt-darker); font-size: 14px; flex-shrink: 0;}
.uprofile__meta-label {font-size: 11px; color: var(--tt-darker); text-transform: uppercase;
	letter-spacing: 0.5px; margin-bottom: 2px;}
.uprofile__meta-value {font-size: 14px; color: var(--tt); font-weight: 600;}

.uprofile__section {margin-top: 24px;}
.uprofile__section-title {font-size: 18px; font-weight: 700; margin-bottom: 16px;
	display: flex; align-items: center; gap: 10px;}
.uprofile__section-title .fal {color: var(--accent); font-size: 16px;}
.uprofile__section-more {margin-left: auto; font-size: 13px; font-weight: 400; color: var(--tt-darker);}
.uprofile__section-more:hover {color: var(--accent);}

.uprofile__danger-zone {margin-top: 40px; text-align: center;}
.uprofile__danger-zone .self_delete_link {background: transparent; border: 1px solid rgba(244,67,54,0.3);
	color: #f44336; font-size: 12px; padding: 10px 24px; border-radius: 8px;
	text-shadow: none; box-shadow: none; transition: all .2s;}
.uprofile__danger-zone .self_delete_link:hover {background: rgba(244,67,54,0.1); border-color: #f44336;}

/* USERINFO: EDITOR FORM */
.uprofile-editor {max-width: 900px; margin: 24px auto 0;}
.uprofile-editor__header {margin-bottom: 24px;}
.uprofile-editor__title {font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 12px;}
.uprofile-editor__title .fal {color: var(--accent);}

.uprofile-editor__section {background: var(--bg-lighter); border-radius: 12px; padding: 24px; margin-bottom: 16px;}
.uprofile-editor__section-label {font-size: 11px; font-weight: 700; text-transform: uppercase;
	letter-spacing: 1.5px; color: var(--tt-darker); margin-bottom: 20px; padding-bottom: 12px;
	border-bottom: 1px solid var(--bdc-lighter);}

.uprofile-editor__row {margin-bottom: 16px;}
.uprofile-editor__row:last-child {margin-bottom: 0;}
.uprofile-editor__label {display: block; font-size: 13px; font-weight: 600;
	color: var(--tt-darker-2); margin-bottom: 8px;}

.uprofile-editor__field {position: relative;}
.uprofile-editor__field input[type="text"],
.uprofile-editor__field input[type="password"] {padding-left: 42px; border-radius: 8px; height: 44px;
	line-height: 44px; background: var(--bg); border: 1px solid var(--bdc-lighter);
	box-shadow: none; transition: border-color .2s;}
.uprofile-editor__field input[type="text"]:focus,
.uprofile-editor__field input[type="password"]:focus {border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(255,163,50,0.1);}
.uprofile-editor__field-icon {position: absolute; left: 0; top: 0; width: 42px; height: 44px;
	display: flex; align-items: center; justify-content: center; color: var(--tt-darker);
	font-size: 14px; pointer-events: none; z-index: 2;}

.uprofile-editor__field--file {margin-bottom: 10px;}
.uprofile-editor__field--file input[type="file"] {width: 100%; padding: 10px 14px; background: var(--bg);
	border: 1px dashed var(--bdc-lighter); border-radius: 8px; color: var(--tt-darker);
	font-size: 14px; cursor: pointer; transition: border-color .2s;}
.uprofile-editor__field--file input[type="file"]:hover {border-color: var(--accent);}

.uprofile-editor__checkboxes {display: grid; gap: 12px;}
.uprofile-editor__checkbox {display: flex; align-items: center; gap: 10px;
	font-size: 14px; color: var(--tt-darker-2); cursor: pointer;}
.uprofile-editor__checkbox input[type="checkbox"] {width: 18px; height: 18px; border-radius: 4px;
	background: var(--bg); border: 1px solid var(--bdc-lighter); appearance: auto;
	-webkit-appearance: auto; cursor: pointer; flex-shrink: 0;}

.uprofile-editor__xfields table {width: 100%;}
.uprofile-editor__xfields td {padding: 6px 0;}

.uprofile-editor__footer {margin-top: 8px; text-align: center;}
.uprofile-editor__submit {height: 48px; padding: 0 32px; font-size: 14px; font-weight: 700;
	border-radius: 10px; background: var(--accent); color: #000; cursor: pointer;
	display: inline-flex; align-items: center; gap: 10px; letter-spacing: 0.5px;
	text-transform: none; transition: all .2s;}
.uprofile-editor__submit:hover {background: var(--accent-darker); transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(255,163,50,0.3);}

/* USERINFO: LIGHT THEME OVERRIDES */
.lt-is-active .uprofile__cover {background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 30%, #f5f0ea 70%, #f8f8f8 100%);}
.lt-is-active .uprofile__cover::before {
	background: radial-gradient(ellipse 60% 80% at 20% 60%, rgba(227,76,0,0.08) 0%, transparent 70%),
	radial-gradient(ellipse 40% 60% at 80% 30%, rgba(245,0,87,0.04) 0%, transparent 60%);}
.lt-is-active .uprofile__avatar {border-color: var(--bg-lighter); box-shadow: 0 4px 20px rgba(0,0,0,0.1);}
.lt-is-active .uprofile__hero,
.lt-is-active .uprofile__stats .uprofile__stat,
.lt-is-active .uprofile__meta,
.lt-is-active .uprofile-editor__section {box-shadow: 0 2px 8px rgba(0,0,0,0.06);}
.lt-is-active .uprofile__btn-edit,
.lt-is-active .uprofile__btn-pm,
.lt-is-active .uprofile-editor__submit {color: #fff;}
.lt-is-active .uprofile__status-dot--online {border-color: var(--bg-lighter);}

/* USERINFO: RESPONSIVE */
@media screen and (max-width: 768px) {
	.uprofile__hero-body {flex-wrap: wrap; padding: 0 16px 16px; gap: 12px;}
	.uprofile__avatar {width: 72px; height: 72px;}
	.uprofile__cover {height: 100px;}
	.uprofile__hero-body {margin-top: -36px;}
	.uprofile__name {font-size: 18px;}
	.uprofile__hero-actions {width: 100%; justify-content: stretch;}
	.uprofile__btn-edit {flex: 1; justify-content: center;}
	.uprofile__stats {grid-template-columns: repeat(3, 1fr);}
	.uprofile__stat {padding: 14px 10px;}
	.uprofile__stat-value {font-size: 20px;}
	.uprofile__meta-grid {grid-template-columns: 1fr; gap: 12px;}
	.uprofile-editor__section {padding: 16px;}
}
@media screen and (max-width: 470px) {
	.uprofile__hero-body {padding: 0 12px 12px;}
	.uprofile__stats {gap: 1px; border-radius: 8px;}
	.uprofile__stat-value {font-size: 18px;}
	.uprofile__stat-label {font-size: 10px;}
	.uprofile__meta {padding: 16px;}
}

/* PROFILE COLLECTION
----------------------------------------------- */

/* Card container for sections — matches .uprofile__meta look */
.uprofile__section--card {background: var(--bg-lighter); border-radius: 12px; padding: 20px 24px 24px; margin-top: 16px;}
.uprofile__section--card > .uprofile__section-title {margin-bottom: 14px;}

/* Carousel inside cards: bleed to card edges */
.uprofile__section--card .carou__content {
	margin-left: -24px; margin-right: -24px;
	padding-left: 24px; padding-right: 24px;
	scrollbar-width: none; gap: 16px;
}
.uprofile__section--card .carou__content::-webkit-scrollbar {display: none;}
.uprofile .carou__content > .poster {width: calc((100% - 64px)/5);}

/* Tabs inside cards */
.uprofile__section--card > .tabs__select {margin-bottom: 16px; text-transform: none; font-size: 13px; gap: 4px 6px; flex-wrap: wrap;}
.uprofile__section--card > .tabs__select li {cursor: pointer; padding: 6px 8px 8px;}

/* Folder tab switching */
.uprof-folder {display: none;}
.uprof-folder.is-active {display: block;}

/* Section counter pill */
.uprofile__section-count {font-size: 12px; font-weight: 700; color: var(--tt-darkest);
	background: var(--bg-lighter-2); padding: 2px 10px; border-radius: 100px; margin-left: auto;}
.uprofile__section--card .uprofile__section-count {background: var(--bdc-lighter);}

/* Progress bar on reading posters */
.uprof-pbar {height: 4px; border-radius: 2px; background: var(--bdc); margin-top: -12px; margin-bottom: 12px; overflow: hidden;}
.uprof-pbar > div {height: 100%; border-radius: 2px; background: var(--accent); transition: width .6s ease;}

/* Mini stats row (reader profile card) */
.uprof-ministats {display: flex; gap: 24px;}
.uprof-ministat__value {font-size: 22px; font-weight: 800; color: var(--tt); line-height: 1;}
.uprof-ministat__label {font-size: 10px; color: var(--tt-darker); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 3px;}

/* Separator */
.uprof-sep {height: 1px; background: var(--bdc-lighter); margin: 16px 0;}

/* Genre pills */
.uprof-genres {display: flex; flex-wrap: wrap; gap: 8px;}
.uprof-genre {padding: 5px 14px; border-radius: 100px; font-size: 12px; font-weight: 600;
	background: var(--bg-lighter-2); color: var(--tt-darker-2); transition: all .2s; cursor: default;}
.uprof-genre:hover {color: var(--accent); background: rgba(255,163,50,0.08);}
.uprof-genre sup {font-size: 9px; margin-left: 4px; color: var(--tt-darker);}

/* ── Favorites: unified collection ───────────────────────────── */

/* Бейдж новых глав на табе подписок */
.fav-badge {background: var(--accent); color: #fff; border-radius: 10px;
	padding: 1px 6px; font-size: 11px; font-weight: 700; margin-left: 3px; vertical-align: middle;}

/* Ярлык +N NEW на постере (папка подписок) */
.poster__label--new {right: 5px; top: 5px; background: #e53935;}

/* Колокольчик подписки — в любой папке, виден даже рядом с +N */
.poster__label--follow {left: 5px; top: 5px; background-color: #1e50c8 !important; color: #fff; text-shadow: none;}

/* Прогресс-бар внутри карточки постера (override uprof-pbar из профиля) */
.poster .uprof-pbar {margin-top: -17px; margin-bottom: 0; border-radius: 0 0 10px 10px;
	position: relative; z-index: 2;}

/* Кнопка "Продолжить чтение" на постере (папка Читаю) */
.poster__continue {position:absolute; bottom:5px; right:5px; z-index:3; background:var(--accent);
	color:#fff; width:32px; height:32px; border-radius:50%; display:flex; align-items:center;
	justify-content:center; font-size:14px; opacity:.85; transition:.2s;}
.poster__continue:hover {opacity:1; transform:scale(1.1);}

/* Info-banner (релиз 2) */
.fav-banner {background: var(--accent-3); color: #fff; padding: 12px 16px; border-radius: 8px;
	margin-bottom: 20px; font-size: 14px; gap: 12px;}
.fav-banner__close {cursor: pointer; opacity: .7; transition: .2s; flex-shrink: 0;}
.fav-banner__close:hover {opacity: 1;}

/* "Show more" poster */
.uprof-more {display: flex; flex-direction: column; align-items: center; justify-content: center;
	aspect-ratio: 2/3; border-radius: 10px; background: var(--bg-lighter-2);
	border: 1px dashed var(--bdc-lighter); transition: border-color .3s; gap: 6px;}
.uprof-more:hover {border-color: var(--accent);}
.uprof-more .fal {font-size: 20px; color: var(--accent);}
.uprof-more em {font-style: normal; font-size: 11px; color: var(--tt-darker); font-weight: 600;}

/* Comments inside card: bump bg one level deeper */
.uprofile__section--card .comment-item {background: var(--bg-lighter-2);}

/* Light theme */
.lt-is-active .uprofile__section--card {box-shadow: 0 2px 8px rgba(0,0,0,0.06);}
.lt-is-active .uprof-genre:hover {background: rgba(227,76,0,0.06);}
.lt-is-active .uprofile__section-count {background: var(--bdc);}
.lt-is-active .uprofile__section--card .uprofile__section-count {background: var(--bdc);}

/* ── Favorites v3 UX: tabs, skeleton, actionbar, sort, list-mode ──── */

/* Базовые стили табов (были inline в main.tpl, перенесены в v3) */
.favorites__tabs {
	margin-top: 30px; text-transform: uppercase; font-size: 14px; gap: 0 20px;
	font-weight: 600; overflow-x: auto; flex-wrap: nowrap; white-space: nowrap;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, #000 90%, transparent);
	mask-image: linear-gradient(90deg, #000 90%, transparent);
}
.favorites__tabs::-webkit-scrollbar { display: none; }
.favorites__tabs-item a {
	display: flex; align-items: center; cursor: pointer;
	color: var(--tt-darker); padding: 10px 14px; min-height: 44px;
}
.favorites__tabs-item.is-active a { color: var(--tt); box-shadow: inset 0 -2px var(--accent); pointer-events: none; }
.favorites__tabs-item a:hover { color: var(--accent); }

/* Tabs v3: active pill via ::after с glow */
.favorites__tabs-v3 { border-bottom: 1px solid var(--bdc); margin-top: 24px; gap: 4px; }
.favorites__tabs-v3 .favorites__tabs-item a {
	position: relative; padding: 14px 18px; font-size: 13px; letter-spacing: .5px;
	border-radius: 8px 8px 0 0; transition: color .2s, background .2s;
}
.favorites__tabs-v3 .favorites__tabs-item a:hover { background: var(--bg-lighter); color: var(--tt); }
.favorites__tabs-v3 .favorites__tabs-item.is-active a { background: var(--bg-lighter); color: var(--accent); box-shadow: none; }
.favorites__tabs-v3 .favorites__tabs-item.is-active a::after {
	content: ""; position: absolute; left: 8px; right: 8px; bottom: 0;
	height: 3px; border-radius: 3px 3px 0 0;
	background: var(--accent); box-shadow: 0 0 10px rgba(255,163,50,.5);
}

/* Skeleton grid — 12 заглушек пока loading=true */
.fav-skel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 30px 20px; }
.skel { background: var(--bg-lighter); border-radius: 10px; aspect-ratio: 2/3; position: relative; overflow: hidden; }
.skel::after {
	content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.04), transparent);
	animation: skel-shimmer 1.2s infinite;
}
@keyframes skel-shimmer { to { transform: translateX(100%); } }
.skel-title { height: 13px; border-radius: 4px; background: var(--bg-lighter); margin-top: 10px; width: 75%; animation: skel-shimmer 1.2s infinite; }
.skel-sub { height: 10px; border-radius: 4px; background: var(--bg-lighter); margin-top: 6px; width: 50%; animation: skel-shimmer 1.2s infinite; }
@media (prefers-reduced-motion: reduce) {
	.skel::after, .skel-title, .skel-sub { animation: none; }
}

/* Sticky bottom actionbar (edit mode) — всегда в DOM, видимость через CSS class */
.fav-actionbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
	display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
	padding: 10px 12px;
	padding-bottom: calc(10px + env(safe-area-inset-bottom));
	background: var(--bg-darkest); border-top: 1px solid var(--bdc);
	box-shadow: 0 -4px 16px rgba(0,0,0,.4);
	transform: translateY(100%);
	visibility: hidden;
	pointer-events: none;
	transition: transform .25s ease-out, visibility 0s linear .25s;
}
.fav-actionbar.is-visible {
	transform: translateY(0);
	visibility: visible;
	pointer-events: auto;
	transition: transform .25s ease-out, visibility 0s linear 0s;
}
@supports not (padding-bottom: env(safe-area-inset-bottom)) {
	.fav-actionbar { padding-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.fav-actionbar, .fav-actionbar.is-visible { transition: none; }
}
.fav-actionbar__count { font-size: 12px; font-weight: 600; color: var(--tt-darker); flex-shrink: 0; padding: 0 4px; }
.fav-actionbar__hint { font-size: 13px; color: var(--tt-darker); flex: 1; text-align: center; }
.fav-actionbar__btn {
	min-height: 40px; padding: 0 16px; border-radius: 8px; border: none; cursor: pointer;
	background: var(--accent); color: #000; font-weight: 600; font-size: 12px; white-space: nowrap;
}
.fav-actionbar__btn:disabled { opacity: .35; pointer-events: none; }
.fav-actionbar__btn.is-active { background: var(--bg-lighter-2); color: var(--tt-darker); pointer-events: none; }
.fav-actionbar__btn--danger { background: #c62828; color: #fff; }
/* Отступ снизу когда actionbar открыт */
.fav-has-actionbar { padding-bottom: 72px; }

/* Toolbar wrapper — поднимаем над #dle-content (sibling z-index: siblings share z-index:5 from .tabs__block > *) */
.fav-toolbar { position: relative; z-index: 20; margin-bottom: 25px; }

/* Vue-управляемый sort dropdown (вместо <details>) */
.fav-sort { position: relative; }
.fav-sort__toggle {
	list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 14px; border-radius: 10px; background: var(--bg-lighter);
	color: var(--tt); font-size: 13px; font-weight: 600; transition: background .15s;
	text-decoration: none;
}
.fav-sort__toggle:hover { background: var(--bg-lighter-2); color: var(--tt); }
.fav-sort__toggle i.fas { transition: transform .2s; }
.fav-sort.is-open .fav-sort__toggle { color: var(--accent); }
.fav-sort.is-open .fav-sort__toggle i.fas { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
	.fav-sort__toggle i.fas { transition: none; }
}
.fav-sort__menu {
	position: absolute; top: calc(100% + 4px); left: 0; z-index: 100;
	min-width: 200px; max-width: calc(100vw - 40px);
	background: var(--bg-lighter); border: 1px solid var(--bdc-lighter); border-radius: 10px; overflow: hidden;
	box-shadow: 0 12px 32px rgba(0,0,0,.5);
}
.fav-sort__label { padding: 10px 16px 8px; background: var(--bg-darkest); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--tt-darker); }
.fav-sort__menu a { display: flex; align-items: center; min-height: 44px; padding: 12px 16px; color: var(--tt); font-size: 13px; }
.fav-sort__menu a:hover { background: var(--bg-lighter-2); color: var(--accent); }
.fav-sort__menu a.is-active { background: rgba(255,163,50,.12); color: var(--accent); pointer-events: none; }

/* Edit mode v3: inset shadow вместо opacity/translateY */
#dle-content.fav-edit .poster__img { transition: box-shadow .15s, transform .15s; }
#dle-content.fav-edit .poster.grid-item .poster__img { box-shadow: 0 0 0 3px var(--bdc) inset; }
#dle-content.fav-edit .poster.grid-item.is-active .poster__img { box-shadow: 0 0 0 3px var(--accent) inset; transform: scale(.96); }
#dle-content.fav-edit .has-overlay__mask { display: none; }
@media (prefers-reduced-motion: reduce) {
	#dle-content.fav-edit .poster__img { transition: none; }
}

/* List mode: горизонтальные карточки */
#dle-content.fav-list { display: flex; flex-direction: column; }
#dle-content.fav-list .poster.grid-item {
	display: flex; align-items: flex-start; gap: 14px; width: 100%;
	padding: 12px 0; border-bottom: 1px solid var(--bdc-lighter);
}
#dle-content.fav-list .poster.grid-item:last-child { border-bottom: none; }
/* Перебиваем .img-responsive--portrait (padding-top:150%) и absolute img */
#dle-content.fav-list .poster__img {
	width: 70px; height: 105px; flex-shrink: 0; border-radius: 6px;
	padding-top: 0 !important; margin-bottom: 0; aspect-ratio: auto;
}
#dle-content.fav-list .poster__img > img {
	position: static; width: 100%; height: 100%; object-fit: cover;
	min-height: unset; display: block; border-radius: 6px;
}
/* Прогресс-бар прячем (становится 3-м flex-элементом и ломает строку);
   прогресс уже виден в subtitle: "4/7 гл." */
#dle-content.fav-list .uprof-pbar { display: none; }
#dle-content.fav-list .poster__desc { flex: 1 1 0; min-width: 0; padding-top: 2px; }
#dle-content.fav-list .poster__title { font-size: 14px; font-weight: 600; white-space: normal; -webkit-line-clamp: 2; }
#dle-content.fav-list .poster__subtitle { margin-top: 6px; white-space: normal; }
#dle-content.fav-list .has-overlay__mask { display: none; }
#dle-content.fav-list .poster__continue-v3 { display: none; }
#dle-content.fav-list .poster__label--new { font-size: 9px; padding: 3px 7px; top: 3px; right: 3px; }
/* Десктоп: увеличить обложку */
@media (min-width: 768px) {
	#dle-content.fav-list .poster__img { width: 100px; height: 150px; }
	#dle-content.fav-list .poster__title { font-size: 15px; }
}
/* gap fallback Chrome 83- */
@supports not (gap: 10px) {
	#dle-content.fav-list .poster.grid-item + .poster.grid-item { margin-top: 12px; }
}

/* View mode toggle buttons */
.fav-view-switch { display: flex; align-items: center; gap: 4px; background: var(--bg-lighter); padding: 4px; border-radius: 10px; }
.fav-view-switch__btn {
	border: none; background: transparent; color: var(--tt-darker); cursor: pointer;
	min-width: 36px; min-height: 32px; padding: 0 12px; border-radius: 7px;
	font-size: 12px; line-height: 1.4; transition: background .15s, color .15s;
}
.fav-view-switch__btn:hover:not(.is-active) { background: var(--bg-lighter-2, rgba(255,255,255,.06)); color: var(--tt); }
.fav-view-switch__btn.is-active { background: var(--accent); color: #000; box-shadow: 0 2px 6px rgba(255,163,50,.3); }

/* Banner subtle v3 */
.fav-banner-v3 {
	background: var(--bg-lighter); border-left: 3px solid var(--accent);
	color: var(--tt); padding: 12px 16px; border-radius: 6px; margin-bottom: 20px;
	font-size: 14px; display: flex; align-items: center; gap: 12px;
}
.fav-banner-v3__close {
	cursor: pointer; opacity: .6; transition: opacity .2s; flex-shrink: 0;
	min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center;
	margin: -12px -8px -12px 0;
}
.fav-banner-v3__close:hover { opacity: 1; }
.fav-banner-v3__icon-info { margin-right: 8px; }
.fav-banner-v3__icon-bell { color: #6495ff; }

/* Badge: AAA contrast — #000 на #FFA332 = 10.8:1 */
.fav-badge-v3 { background: var(--accent); color: #000; border-radius: 10px; padding: 1px 6px; font-size: 11px; font-weight: 700; margin-left: 3px; vertical-align: middle; }

/* Continue button v3: consolidated, correct size */
.poster__continue-v3 {
	position: absolute; bottom: 10px; right: 8px; z-index: 3;
	background: var(--accent); color: #000;
	width: 40px; height: 40px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 16px; opacity: .88; transition: opacity .2s, transform .2s;
}
.poster__continue-v3:hover { opacity: 1; transform: scale(1.1); }
@media (pointer: coarse) { .poster__continue-v3 { width: 48px; height: 48px; font-size: 18px; opacity: 1; } }

/* prefers-reduced-motion: убрать все transition в favorites */
@media (prefers-reduced-motion: reduce) {
	.poster__continue-v3, .poster__img, .uprof-pbar > div { transition: none; }
}

/* Edit mode toggle кнопка (v3: полноценный стиль) */
.editMode-toggle {
	height: 40px; width: 40px; font-size: 1.05em; border-radius: 10px;
	background: var(--bg-lighter); color: var(--tt-darker);
	transition: background .15s, color .15s; display: flex; align-items: center; justify-content: center;
}
.editMode-toggle:hover { background: var(--bg-lighter-2); color: var(--accent); }
.editMode-toggle.is-active { background: var(--accent); color: #000; }

/* Чекбокс выбора в edit mode */
.poster__label-selected {
	top: 5px; left: 5px; font-size: 16px; width: 28px; height: 28px;
	background: var(--accent); color: #000; border-radius: 50%;
	display: none; align-items: center; justify-content: center;
}
.fav-edit .poster.grid-item.is-active .poster__label-selected { display: flex; }

/* Empty state */
.fav-empty { text-align: center; padding: 60px 20px; color: var(--tt-darker); }
.fav-empty__icon { font-size: 48px; color: var(--accent); opacity: .3; margin-bottom: 16px; display: block; }
.fav-empty__title { font-size: 18px; font-weight: 600; color: var(--tt); margin-bottom: 8px; }
.fav-empty__hint { font-size: 14px; margin-bottom: 24px; }
.fav-empty__cta {
	display: inline-flex; align-items: center; height: 44px; padding: 0 24px;
	background: var(--accent); color: #000; border-radius: 22px;
	font-weight: 600; font-size: 14px; text-transform: uppercase;
}
.fav-empty__cta:hover { filter: brightness(1.1); color: #000; }

/* ── Favorites v3.2: list-mode meta + visual polish ─────────────── */

/* Section header — accent icon */
#app__favorites .sect__title { font-size: 26px; font-weight: 800; letter-spacing: -.3px; }
#app__favorites .sect__title .fal { color: var(--accent); margin-right: 12px; font-size: 24px; }

/* Grid hover: subtle lift + accent glow (desktop only, no touch) */
@media (hover: hover) {
	#dle-content:not(.fav-list):not(.fav-edit) .poster.grid-item { transition: transform .2s ease; }
	#dle-content:not(.fav-list):not(.fav-edit) .poster.grid-item:hover { transform: translateY(-3px); }
	#dle-content:not(.fav-list):not(.fav-edit) .poster.grid-item:hover .poster__img {
		box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 0 1px rgba(255,163,50,.3);
	}
}
@media (prefers-reduced-motion: reduce) {
	#dle-content:not(.fav-list):not(.fav-edit) .poster.grid-item { transition: none; }
	#dle-content:not(.fav-list):not(.fav-edit) .poster.grid-item:hover { transform: none; }
}

/* List row hover: bg highlight + accent left indicator */
#dle-content.fav-list .poster.grid-item {
	border-radius: 8px; padding: 14px 12px;
	border-bottom: 1px solid var(--bdc-lighter);
}
#dle-content.fav-list .poster.grid-item::before {
	content: ""; position: absolute; left: 0; top: 14px; bottom: 14px;
	width: 3px; border-radius: 0 3px 3px 0;
	background: transparent; transition: background .15s;
}
@media (hover: hover) {
	#dle-content.fav-list .poster.grid-item:hover { background: var(--bg-lighter); border-bottom-color: transparent; }
	#dle-content.fav-list .poster.grid-item:hover::before { background: var(--accent); }
}
@media (prefers-reduced-motion: reduce) {
	#dle-content.fav-list .poster.grid-item::before { transition: none; }
}

/* List mode: meta (статус + жанры) */
.fav-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.fav-status {
	display: inline-flex; align-items: center; height: 22px; padding: 0 10px;
	border-radius: 11px; font-size: 11px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .3px; line-height: 1;
}
.fav-status.is-ongoing { background: rgba(255,163,50,.15); color: var(--accent); }
.fav-status.is-done    { background: rgba(76,175,80,.15);  color: #66bb6a; }
.fav-status.is-paused  { background: var(--bdc-lighter);   color: var(--tt-darker); }
.fav-genre {
	display: inline-flex; align-items: center; height: 22px; padding: 0 10px;
	border-radius: 11px; font-size: 11px; font-weight: 600; line-height: 1;
	background: var(--bg-lighter-2); color: var(--tt-darker-2);
}

/* Описание тайтла в list mode */
.fav-desc {
	margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--tt-darker);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Прогресс-бар в list mode (тонкая полоска под описанием) */
.fav-list-pbar {
	margin-top: 10px; height: 4px; border-radius: 2px;
	background: var(--bdc); overflow: hidden; max-width: 240px;
}
.fav-list-pbar > div { height: 100%; background: var(--accent); border-radius: 2px; transition: width .6s ease; }
@media (prefers-reduced-motion: reduce) { .fav-list-pbar > div { transition: none; } }

/* Рейтинг в subtitle (переехал с .poster__label--rate в /favorites/) */
.poster__rating { color: var(--accent); font-weight: 700; }
.poster__rating .fas { margin-right: 3px; font-size: 11px; vertical-align: middle; }
/* Скрыть overlay-рейтинг только в блоке коллекции (на остальных страницах остаётся) */
#app__favorites .poster__label--rate { display: none; }

/* Mobile: compact meta */
@media (max-width: 767px) {
	.fav-desc { -webkit-line-clamp: 3; }
	.fav-meta { gap: 4px; }
	.fav-status, .fav-genre { height: 20px; padding: 0 8px; font-size: 10px; }
	.fav-list-pbar { max-width: none; }
}

/* Stats strip */
.fav-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin: 0 0 24px;
}
.fav-stat {
	background: var(--bg-lighter);
	border-radius: 12px;
	padding: 16px 12px;
	text-align: center;
	border: 1px solid transparent;
}
.fav-stat__num {
	font-size: 28px;
	font-weight: 800;
	color: var(--tt);
	line-height: 1;
	margin-bottom: 6px;
	font-variant-numeric: tabular-nums;
}
.fav-stat__label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: var(--tt-darker);
}
.fav-stat--accent {
	background: rgba(255,163,50,.08);
	border-color: rgba(255,163,50,.3);
}
.fav-stat--accent .fav-stat__num { color: var(--accent); }
@media (max-width: 767px) {
	.fav-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
	.fav-stat { padding: 12px 8px; }
	.fav-stat__num { font-size: 22px; }
	.fav-stat__label { font-size: 10px; }
}

/* Responsive */
@media screen and (max-width: 768px) {
	.uprofile__section--card {padding: 16px 18px 20px;}
	.uprofile__section--card .carou__content {margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px;}
	.uprofile .carou__content > .poster {width: calc((100% - 48px)/4);}
	.uprof-ministats {gap: 20px;}
	.uprofile__section--card .comment-item {margin-left: 0; margin-right: 0; border-radius: 6px;}
}
@media screen and (max-width: 470px) {
	.uprofile__section--card {padding: 14px 14px 16px;}
	.uprofile__section--card .carou__content {margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; gap: 12px;}
	.uprofile .carou__content > .poster {width: calc((100% - 24px)/3);}
	.uprof-ministats {gap: 14px;}
	.uprof-ministat__value {font-size: 18px;}
}
/* ── Notification Panel ─────────────────────────────────────────── */
.comment-item--highlight {
	animation: comment-highlight 2.5s ease-out forwards;
}
@keyframes comment-highlight {
	0%   { box-shadow: 0 0 0 3px var(--accent, #ffa332); background: rgba(255,163,50,.12); }
	80%  { box-shadow: 0 0 0 3px var(--accent, #ffa332); background: rgba(255,163,50,.06); }
	100% { box-shadow: none; background: transparent; }
}
.notif-panel {
	position: absolute;
	z-index: 1050;
	width: 340px;
	max-height: 480px;
	overflow-y: auto;
	border-radius: 14px;
	background: var(--ui-bg, #1c1c1e);
	box-shadow: 0 8px 40px rgba(0,0,0,.45);
	border: 1px solid rgba(255,255,255,.08);
}
.notif-panel__header {
	padding: 14px 18px;
	border-bottom: 1px solid rgba(255,255,255,.07);
	font-weight: 600;
	font-size: 15px;
}
.notif-panel__title .fal { margin-right: 6px; color: var(--accent); }
.notif-panel__close,
.notif-panel__clear {
	cursor: pointer;
	opacity: .5;
	transition: opacity .15s, color .15s;
	background: none;
	border: none;
	color: inherit;
	font-size: 14px;
	padding: 0;
}
.notif-panel__close:hover { opacity: 1; }
.notif-panel__clear:hover { opacity: 1; color: #e05555; }
.notif-panel__body { padding: 6px 0; }
.notif-panel__loading,
.notif-panel__empty {
	padding: 24px 18px;
	text-align: center;
	opacity: .5;
	font-size: 13px;
}
.notif-item {
	display: block;
	padding: 10px 18px;
	text-decoration: none;
	color: var(--tt);
	border-bottom: 1px solid rgba(255,255,255,.05);
	transition: background .15s;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: rgba(255,255,255,.05); }
.notif-item--unread { background: rgba(255,163,50,.07); }
.notif-item__from {
	font-size: 13px;
	font-weight: 600;
	color: var(--accent);
	margin-bottom: 2px;
}
.notif-item__from .fal { margin-right: 4px; }
.notif-item__post {
	font-size: 12px;
	opacity: .55;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 3px;
}
.notif-item__text {
	font-size: 13px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	opacity: .9;
}
.notif-item__time {
	font-size: 11px;
	opacity: .4;
	margin-top: 4px;
}
@media (max-width: 600px) {
	.notif-panel {
		width: calc(100vw - 24px);
		right: 12px !important;
	}
}
/* ── /Notification Panel ────────────────────────────────────────── */

/* ── Reduced Motion ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	.uprof-pbar > div {transition: none;}
	.comment-item--highlight {animation: none;}
}

/* ── Recommend scroller: override sect--hot grid on all breakpoints ── */
.sect--hot .sect__content.scroller {display: block !important; grid-gap: 0 !important; white-space: nowrap; overflow-x: auto; overflow-y: hidden; padding-bottom: 15px; scrollbar-width: thin; scrollbar-color: var(--tt-darker) var(--bdc);}
.sect--hot .sect__content.scroller > .poster {display: inline-block; vertical-align: top; white-space: normal; width: 132px; margin-right: 13px;}
