/* BASIC LAYOUT
----------------------------------------------- */
.wrappers {
  min-width: 320px;
  position: relative;
}
.wrappers::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 280px;
  background: var(--bg-gradient);
}
.wrapper__container {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 20;
  padding: 0 var(--indent);
}
.header {
  --tt: var(--tt-dark);
  position: relative;
  z-index: 100;
  padding-top: 10px;
}
.content {
  min-height: 80vh;
  position: relative;
}
.footer {
  background-color: var(--bg-dark);
  color: var(--tt-dark);
  --tt: var(--tt-dark);
  padding-top: 10px;
}
.footer__two {
  padding: 20px 0;
  margin-top: 10px;
  font-size: 14px;
  gap: 20px;
  border-top: 1px solid var(--bdc-dark);
  color: var(--tt-dark-fade);
}

.scrolltop {
  position: fixed;
  width: 50px;
  height: 50px;
  right: -60px;
  bottom: 10px;
  z-index: 990;
  border-radius: 50%;
  font-size: 20px;
  opacity: 0;
  transition: right 0.2s, opacity 0.2s;
}
.scrolltop.is-active {
  right: 10px;
  opacity: 1;
}

/* HEADER
----------------------------------------------- */
.logo {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  height: 60px;
  text-align: left;
  padding-left: 80px;
  position: relative;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 1;
}
.logo__subtitle {
  color: var(--yellow);
  font-size: 30px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.logo::before {
  background: var(--green) url(../images/logo.svg) center center / 50px
    no-repeat;
  width: 63px;
  height: 63px;
  content: "";
  position: absolute;
  left: 0;
  top: -10px;
}
.header__caption {
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid var(--bdc-dark);
  font-size: 12px;
  line-height: 1.4;
  color: var(--tt-dark-fade);
}

.theme-toggle {
  margin-left: 20px;
  font-size: 24px;
  min-width: 30px;
  height: 30px;
}
.dt-is-active .theme-toggle::before {
  content: "\f186";
}
.header__btn-login {
  margin-left: 20px;
}

.search-block {
  position: relative;
  width: 320px;
}
.search-block__input,
.search-block__input:focus {
  border-radius: 20px;
  padding: 0 50px 0 25px;
  border: 0;
  box-shadow: none;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: var(--bsh-item);
}
.search-block__input:not(:focus)::placeholder {
  color: #fff;
  opacity: 1;
  font-size: 14px;
}
.search-block__btn {
  position: absolute !important;
  right: 0;
  top: 0;
  width: 60px;
  border-radius: 20px;
  font-size: 16px;
  color: #fff;
}
.search-is-active {
  overflow: hidden;
  padding-right: var(--scrWidth);
}
.search-is-active .search-block__input,
.search-is-active .search-block__btn {
  position: relative;
  z-index: 101;
}
.search-is-active .search-block::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}

/* NAV, HERO
----------------------------------------------- */
.header__menu {
  gap: 40px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin-top: 10px;
  width: 100%;
}
.header__menu > li > a {
  height: 100px;
  display: flex;
  align-items: center;
  font-size: 14px;
  gap: 10px;
  text-transform: uppercase;
  font-weight: 700;
}
.header__menu > li > a::before {
  color: var(--orange);
}
.header__menu-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  background-color: var(--bg);
  box-shadow: var(--bsh);
  width: 700px;
  padding: 30px 35px;
  --tt: var(--tt);
  display: grid;
  gap: 5px 20px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  display: none;
}
.header__menu-submenu a {
  display: block;
  padding: 5px 10px;
}
.header__menu-has-submenu > a::after {
  content: "\f078";
  font-weight: 300;
  font-family: "Font Awesome 5 Pro";
}
.header__menu > li:hover .header__menu-submenu {
  display: grid;
}
.header__menu-hidden a:hover,
.theme-toggle:hover {
  background-color: var(--accent-violet);
  color: #fff;
}

.hero {
  color: var(--tt-dark);
  padding-bottom: 140px;
  position: relative;
  background: var(--bg-gradient);
  margin-bottom: -100px;
}
.hero__title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 30px;
  max-width: 750px;
}
.hero__title span {
  position: relative;
  display: inline-block;
  isolation: isolate;
  margin-left: 10px;
}
.hero__title span::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -5px;
  top: 0;
  background-color: var(--red);
}
.hero__text {
  max-width: 550px;
  font-size: 14px;
  color: var(--tt-dark-fade);
}
.hero__inner {
  position: relative;
  isolation: isolate;
}
.hero--decor .hero__inner::before {
  content: "";
  width: 400px;
  height: 400px;
  background-color: var(--green);
  border-radius: 50%;
  position: absolute;
  right: 80px;
  bottom: -300px;
  z-index: -1;
  box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.15),
    0 0 0 80px rgba(255, 255, 255, 0.1);
}
.hero--decor .hero__inner::after {
  content: "";
  height: 320px;
  width: 320px;
  position: absolute;
  filter: drop-shadow(0 60px 40px rgba(0, 0, 0, 0.5));
  right: 70px;
  bottom: -130px;
  background: url(../images/droid.png) 0 0 / contain no-repeat;
  z-index: -1;
}
.hero__menu {
  gap: 10px;
}
.hero__menu a {
  display: block;
  padding: 3px 6px;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: var(--bsh-item);
}
.hero__title:last-child {
  margin-bottom: 0;
}

/* SECTION
----------------------------------------------- */
.sect {
  margin-bottom: 60px;
}
.sect__header {
  margin-bottom: 30px;
  gap: 10px;
}
.sect__title {
  font-size: 26px;
  font-weight: 700;
}
.sect__link {
  color: var(--blue);
  gap: 10px;
}
.sect--white {
  padding: 30px;
  background-color: var(--bg);
  box-shadow: var(--bsh-item);
}
.sect--bg {
  background: var(--bg-gradient),
    url(../images/bg.jpg) left center / cover no-repeat;
  padding-top: 40px;
  padding-bottom: 40px;
  background-blend-mode: hard-light;
}
.sect--bg .sect__header {
  color: var(--tt-dark);
  --blue: var(--tt-dark);
}
.scroller__btn {
  width: 40px;
  border-radius: 50%;
  padding: 0;
  font-size: 18px;
}
.scroller__btn--next {
  margin-right: 20px;
}
.scroller__btn--prev {
  pointer-events: none;
  opacity: 0.5;
}
.scroller__btn--prev.is-active {
  pointer-events: auto;
  opacity: 1;
}
.scroller__content {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
.scroller__content {
  scrollbar-width: none;
  scrollbar-color: var(--red) var(--bg);
}
.scroller__content::-webkit-scrollbar {
  width: 12px;
  height: 8px;
  display: none;
}
.scroller__content::-webkit-scrollbar-thumb {
  border-radius: 0;
  background-color: var(--red);
  border: 0;
}
.scroller__content::-webkit-scrollbar-track {
  background-color: var(--bg);
}
.scroller__content .item-ext {
  width: 353px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.speedbar {
  color: var(--tt-dark-fade);
  --tt: var(--tt-dark);
  font-size: 14px;
  margin-bottom: -20px;
}
.speedbar::before {
  margin-right: 6px;
}
.site-desc {
  display: grid;
  grid-gap: 20px;
  line-height: 1.6;
  color: var(--tt-fade-2);
  background-color: var(--bg);
  box-shadow: var(--bsh-item);
  padding-top: 40px;
  padding-bottom: 40px;
}
.site-desc .sect__title {
  color: var(--tt);
  font-size: 44px;
  font-weight: 700;
}
.site-desc h2,
.site-desc h3 {
  font-size: 26px;
  color: var(--tt);
  line-height: 1.3;
  margin-bottom: 15px;
}
.site-desc a {
  text-decoration: underline;
  color: var(--blue);
}
.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(--green);
  position: absolute;
  left: 0;
  top: 0;
}
.sect-desc__section {
  padding-top: 15px;
}
.sect-desc__img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin-right: 15px;
  float: left;
  box-shadow: 0 0 0 2px var(--bdc);
  border: 10px solid var(--bg);
  background-color: #000;
}

/* ITEM
----------------------------------------------- */
.item {
  background-color: var(--bg);
  box-shadow: var(--bsh-item);
}
.item__poster {
  height: 150px;
}
.item__img {
  width: 74px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 5px solid var(--bg);
  box-shadow: 0 0 0 2px var(--bdc);
}
.item__link {
  display: block;
}
.item__title {
  font-size: 16px;
  font-weight: 700;
}
.item__category {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--tt-fade);
}
.item__meta {
  font-size: 12px;
  color: var(--tt-fade-2);
}
.item__labels-group {
  gap: 5px;
  position: absolute;
  left: 5px;
  top: 5px;
  z-index: 2;
}
.item__label,
.item__rating {
  width: 30px;
  height: 30px;
  background-color: var(--green);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  border-radius: 15px;
}
.item__label {
  background-color: var(--blue);
  width: 40px;
  font-weight: 400;
  border-radius: 0;
  height: 20px;
}
.item__label--green {
  background-color: var(--green);
}
.item__label--red {
  background-color: var(--red);
}
.item__label--yellow {
  background-color: var(--yellow);
  color: #000;
}
.item__meta-item {
  gap: 5px;
}
.item__text {
  font-size: 12px;
  color: var(--tt-fade);
}

.item-ext .item__poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(19, 46, 75, 0.5);
  z-index: 1;
}
.item-ext__bottom {
  padding: 20px;
  gap: 20px;
}
.item-ext .item__category {
  margin: 3px 0 6px 0;
}
.item-ext .item__rating {
  box-shadow: 0 0 0 5px var(--bg);
  position: absolute;
  right: 20px;
  bottom: -15px;
  z-index: 2;
}

.item-card {
  padding: 20px;
  text-align: center;
}
.item-card .item__rating {
  box-shadow: 0 0 0 6px var(--bg);
  transform: translate(-50%, 0);
  position: absolute;
  left: 50%;
  bottom: -15px;
}
.item-card .item__img {
  margin: 15px auto;
  width: 100%;
  max-width: 140px;
  border-width: 10px;
}
.item-card .item__title {
  font-size: 18px;
  line-height: 1.2;
  margin: 15px 0 10px;
}
.item-card .item__label {
  width: 40px;
  border-radius: 0;
}
.item-card .item__meta {
  margin-top: 20px;
  text-align: left;
  border-top: 2px dotted var(--bdc);
  padding-top: 20px;
}

.item-short {
  padding: 20px;
  gap: 15px 20px;
  padding-bottom: 10px;
}
.item-short .item__text {
  margin-top: 6px;
}
.item-short .item__meta {
  border-top: 2px dotted var(--bdc);
  padding-top: 10px;
  width: 100%;
  gap: 10px;
}
.item-short .item__meta-item:first-child::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  margin-left: 10px;
  background-color: var(--tt-fade);
  display: inline-block;
  vertical-align: middle;
  opacity: 0.5;
}

/* FOOTER, PAGINATION
----------------------------------------------- */
.footer__soc {
  gap: 20px;
}
.footer__soc-item {
  display: grid;
  place-items: center;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  background-color: #2daae1;
}
.vk {
  background-color: #1877f2;
}
.yt {
  background-color: #df1111;
}
.footer__soc img {
  width: 15px;
  height: 15px;
  filter: invert(1);
}
.footer__text {
  line-height: 1.5;
}
.footer__menu {
  gap: 10px 40px;
}

.pagination {
  gap: 20px 60px;
  padding-top: 0px;
}
.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  height: 36px;
  min-width: 36px;
  padding: 0 10px;
  border-radius: 18px;
  border: 2px solid var(--bdc);
}
.pagination__btn-loader {
  width: 100%;
}
.pagination__btn-loader a,
.pagination__btn-loader span {
  height: 40px;
  border-radius: 0;
  background-color: rgba(0, 0, 0, 0.03);
  color: var(--tt-fade-2);
  border: 0;
  width: 440px;
}
.pagination__pages {
  gap: 10px 10px;
  font-size: 14px;
}
.pagination__pages span:not(.nav_ext) {
  background-color: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* INNER PAGE
----------------------------------------------- */
.page__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
}
.page__cols-main {
  background-color: var(--bg);
  box-shadow: var(--bsh-item);
  padding: 30px;
  padding-top: 20px;
}
.page__header {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px 20px;
  grid-template-areas: "ptitle ptitle" "pleft pinfo" "pctrl pctrl";
}
.page__header-left {
  grid-area: pleft;
}
.page__header-title {
  grid-area: ptitle;
}
.page__header-info {
  grid-area: pinfo;
  align-self: center;
  position: relative;
}
.page__header-ctrl {
  grid-area: pctrl;
  gap: 10px 20px;
}
.page .sect {
  margin-bottom: 30px;
}

.page__img {
  width: 180px;
  height: 180px;
}
.page__header-title h1 {
  font-size: 30px;
  font-weight: 600;
}
.page__header-title h1 a {
  margin-left: 10px;
  font-size: 16px;
  color: var(--blue);
}
.page__list {
  display: grid;
  gap: 10px;
  font-size: 14px;
}
.page__list li::before {
  color: var(--blue);
  position: absolute;
  left: 0;
  top: 0;
}
.page__list li {
  position: relative;
  padding-left: 180px;
}
.page__list li > span:first-child {
  font-weight: 700;
  position: absolute;
  top: 0;
  left: 30px;
}
.page__list li a {
  color: var(--blue);
  text-decoration: underline;
}
.page__btn-dl {
  width: 180px;
}
.page__header-ctrl > a:not([class]) {
  background: none;
  border: 2px solid var(--blue);
  color: var(--blue);
  height: 40px;
  padding: 0 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}
.page__rating a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 10px;
  background-color: var(--green);
  color: #fff;
  gap: 10px;
  min-width: 55px;
}
.page__rating a + a {
  background-color: var(--red);
}
.page__fav a {
  position: absolute;
  right: 0;
  top: 120px;
  border: 2px solid var(--bg-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-top: 0;
  padding-top: 2px;
  color: var(--tt-fade-2);
  line-height: 1.3;
  font-size: 13px;
  width: 120px;
  gap: 5px;
  white-space: nowrap;
}
.page__fav a .fal,
.page__fav a::before {
  color: var(--blue);
}
.page__rating-score {
  width: 120px;
  height: 120px;
  position: absolute;
  right: 0;
  top: 0;
  background-color: var(--bg-darker);
  text-align: center;
  padding: 15px 20px;
}
.page__rating-score-caption {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 600;
}
.page__rating-score-value {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  font-size: 24px;
  margin: 0 auto;
  margin-top: 13px;
}
.page__rating-score-value::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--green) 0%,
    var(--green) var(--p),
    var(--red) var(--p)
  );
}
.page__rating-score-value::after {
  content: "";
  position: absolute;
  z-index: -1;
  background-color: var(--bg);
  inset: 5px;
  border-radius: 50%;
}
.page__rating-votes {
  font-size: 12px;
  color: var(--tt-fade);
  white-space: nowrap;
  position: absolute;
  right: 0;
  top: -18px;
}
.page__rating-stars {
  align-self: flex-end;
}

.page__scr {
  margin: 0 -30px;
  padding: 30px;
}
.page__trailer {
  margin: 0 -30px;
  margin-top: -30px;
}
.page__scr ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  gap: 20px;
}
.page__scr li:nth-child(4) ~ li {
  display: none;
}
.page__scr li {
  width: calc((100% - 60px) / 4);
}
.page__scr a {
  display: block;
  position: relative;
}
.page__scr a img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
}
.page__scr a::before {
  content: "\f00e";
  font-family: "Font Awesome 5 Pro";
  font-weight: 300;
  box-shadow: var(--bsh-item);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background-color: var(--bg);
  color: var(--tt);
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -20px 0 0 -20px;
  z-index: 5;
  border-radius: 50%;
  font-size: 18px;
}

.page__text {
  margin-bottom: 20px;
}
.page__message {
  padding: 10px;
  margin-bottom: 3px;
  font-size: 14px !important;
}
.yellow {
  background-color: #ffecb3;
  color: #bf360c;
  border-left: 3px solid #bf360c;
}
.blue {
  background-color: #e8eaf6;
  color: #1a237e;
  border-left: 3px solid #1a237e;
}
.green {
  background-color: #e0f2f1;
  color: #004d40;
  border-left: 3px solid #004d40;
}

.page__message + .page__dl {
  margin-top: 20px;
}
.page__dl-header {
  margin-bottom: 20px;
  position: relative;
}
.page__dl-header img {
  height: 60px;
  width: 60px;
  margin-right: 26px;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  border: 5px solid var(--bg);
  box-shadow: 0 0 0 2px var(--bdc);
}
.page__dl-title {
  font-size: 16px;
  font-weight: 400;
}
.page__dl-title span {
  display: block;
  font-size: 14px;
}
.page__dl-header::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5) url(../images/verify.svg) center center /
    22px no-repeat;
  position: absolute;
  left: 42px;
  top: 50%;
  margin-top: -17px;
  backdrop-filter: blur(6px);
}
.page__dl-content {
  margin: 0 -30px;
  padding: 20px 30px;
  gap: 10px;
  display: grid;
}
.dl {
  padding: 10px;
  padding-left: 20px;
  gap: 10px 20px;
  background-color: var(--bg);
  box-shadow: var(--bsh-item);
  isolation: isolate;
  position: relative;
  overflow: hidden;
}
.dl::after {
  content: "";
  position: absolute;
  left: 0.25rem;
  right: 0.25rem;
  top: -30px;
  height: 3.75rem;
  margin-top: 0.25rem;
  background-size: 1rem 1rem;
  opacity: 0.05;
  z-index: -1;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxNiAxNic+PHBhdGggZmlsbD0nIzE0MjYzNicgZD0nTTIsOGEyLDIsMCwxLDAsMiwyQTIsMiwwLDAsMCwyLDhabTgtOGEyLDIsMCwxLDAsMiwyQTIsMiwwLDAsMCwxMCwwWicvPjwvc3ZnPg==);
}
.dl::before {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--bdc);
  background-color: var(--bg);
}
.dl__btn {
  width: 200px;
  border-radius: 5px;
}
.dl__title {
  font-weight: 700;
}
.dl__meta {
  font-size: 12px;
  color: var(--tt-fade);
  margin-top: 5px;
}
.dl__extension {
  font-weight: 700;
  color: var(--blue);
}

@media screen and (min-width: 1220px) {
  .page__cols-side .sect:first-child .sect__title {
    color: #fff;
  }
  .page__cols-side .d-grid-items-3,
  .page__cols-side .d-grid-items-5 {
    gap: 10px;
  }
  .page__cols-side .d-grid-items-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page__cols-side .item-card .item__title {
    font-size: 15px;
    margin-top: 10px;
  }
  .page__cols-side .item-card .item__img {
    margin-top: 0;
    margin-bottom: 0;
  }
  .page__cols-side .item-card .item__meta {
    margin: -10px;
    padding-top: 10px;
    margin-top: 10px;
  }
}

.page__list {
  word-wrap: break-word;
}
.page--dl .page__header-ctrl > a:not([class]) {
  width: 180px;
  justify-content: center;
  height: 60px;
}
.page--dl .page__rating-score {
  width: auto;
  height: auto;
  background: none;
  padding: 0;
  position: static;
}
.page--dl .page__rating-score > * {
  margin: 0;
}
.page--dl .page__btn-dl2 {
  height: 60px;
}
.page__btn-dl--not-ready {
  pointer-events: none;
  opacity: 0.5;
}
.page__rkl {
  grid-area: rkl;
  text-align: center;
  background-color: var(--bg-darker);
}
.page--dl .page__header {
  grid-template-areas: "ptitle ptitle" "rkl rkl" "pleft pinfo" "pctrl pctrl";
}

/* TEXT BLOCK, TYPOGRAPHY, VIDEO BLOCK
----------------------------------------------- */
.page__title {
  margin-bottom: 30px;
  font-size: 24px;
}
.full-text {
  line-height: 1.6;
  font-size: 15px;
  word-wrap: break-word;
}
.full-text a {
  text-decoration: underline;
  color: var(--blue);
}
.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 {
  margin-bottom: 25px;
}
.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 #fcc506;
  position: absolute;
  top: 6px;
  left: 34px;
}
.full-text > ol {
  counter-reset: num;
}
.full-text > ol li:before {
  content: counter(num);
  counter-increment: num;
  background-color: #fcc506;
  color: #000;
  position: absolute;
  top: -3px;
  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: #fcc506;
  position: absolute;
  left: 41px;
  top: -3px;
  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;
  margin-bottom: 20px;
}
.full-text iframe {
  width: 100%;
  height: 400px;
  margin-bottom: 20px;
}

/* COMMENTS
----------------------------------------------- */
.page__comments {
  margin-top: 0px;
}
.page__comments-title {
  font-size: 24px;
  margin-bottom: 20px;
}
.page__comments-info {
  color: var(--tt-fade);
  display: block;
  margin: -15px 0 20px;
  font-size: 14px;
  padding-left: 23px;
  position: relative;
}
.page__comments-info::before {
  color: var(--ui-red);
  position: absolute;
  left: 0;
  top: 2px;
}
.ac-form {
  margin-bottom: 30px;
  position: relative;
}
.ac-form__header,
.ac-form__editor,
.ac-form .message-info {
  gap: 10px;
  margin-bottom: 10px;
}
.ac-form__btn {
  padding: 0 60px;
}
.ac-form__bottom {
  gap: 25px;
}
.confidential-check {
  font-size: 14px;
}
.ac-form__header > span {
  margin-left: 15px;
}
.ac-form .comments_subscribe {
  margin-top: 0px;
}

.ac-toggle.ac-form {
  cursor: pointer;
}
.ac-form__header input,
.ac-toggle .ac-form__editor textarea {
  border-radius: 0;
}
.ac-toggle,
.ac-toggle .ac-form__editor {
  position: relative;
}
.ac-toggle .ac-form__bottom button {
  position: absolute;
  bottom: 20px;
  right: 10px;
  z-index: 10;
  pointer-events: none;
}
.ac-form .bb-btn {
  display: none;
}
.ac-form .bb-pane {
  background: none;
  box-shadow: none;
  border: 0;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
}
.ac-form #b_emo,
.ac-form #b_leech,
.ac-form #b_quote,
.ac-form #b_spoiler,
.ac-form #b_b,
.ac-form #b_u,
.ac-form #b_s,
.ac-form #b_color,
.ac-form #b_hide {
  display: grid;
}
.ac-toggle .bb-btn {
  pointer-events: none;
}
.ac-toggle .ac-form__editor .bb-editor textarea {
  height: 140px;
  resize: none;
}
.ac-form__editor .bb-editor textarea {
  height: 140px;
  line-height: 1.4;
  padding-bottom: 40px;
}
.comments_subscribe + br,
.ac-form .bb-editor + br {
  display: none;
}
.ac-toggle .has-checkbox {
  display: none;
}

.mass_comments_action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.mass_comments_action select {
  flex: 1 1 0;
  margin: 0 -28px 0 0;
  border-radius: 0;
  box-shadow: none;
  min-width: 50%;
}
.mass_comments_action .bbcodes {
  border-radius: 0;
  padding: 0 10px;
}

.comm__title {
  font-size: 18px;
  margin-bottom: 20px;
}

.comm {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--bdc);
}
.comm__img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 15px;
}
.comm__img::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--ui-red);
  position: absolute;
  right: -1px;
  top: -1px;
  z-index: 5;
  border: 2px solid var(--bg);
}
.comm--online .comm__img::before {
  background-color: var(--ui-green);
}
.comm__letter {
  width: 100%;
  height: 100%;
  text-transform: uppercase;
  border-radius: inherit;
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  font-size: 18px;
  font-weight: var(--ui-fw-bolder);
}
.comm__author,
.comm__author a {
  color: var(--tt-colored);
  font-weight: 600;
  font-size: 14px;
}
.comm__date {
  color: var(--tt-fade);
  font-size: 13px;
  margin-top: 2px;
}
.comm__main {
  margin: 10px 0 6px 0;
}
.comm__action {
  gap: 20px;
  font-size: 13px;
}
.comm__action li,
.comm__action li a {
  color: var(--tt-fade);
  cursor: pointer;
  gap: 8px;
  display: flex;
  align-items: center;
}
.comm__ctrl,
.comm__ctrl a {
  font-size: 15px;
  gap: 10px 15px;
  color: var(--tt-fade);
}
.comm__ctrl li.has-checkbox {
  transform: scale(0.8, 0.8);
  margin: 0 -10px 0 -5px;
}
.comm__ctrl li.has-checkbox input {
  border-color: var(--tt-fade);
}
.comm__rating {
  gap: 10px;
  font-size: 14px;
}
.comm__rating::before {
  content: attr(data-text);
  display: inline;
}
.comm__rating > * {
  display: flex;
  gap: 5px;
}
.comm__rating > * > span:first-child {
  text-decoration: underline;
  color: var(--ui-green);
}
.comm__rating > * + * > span:first-child {
  color: var(--ui-red);
}

/* LOGIN
----------------------------------------------- */
.login {
  position: fixed;
  z-index: 999;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--ui-bg);
  width: 440px;
  border: 10px solid var(--ui-bg-darker);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 1);
  overflow-y: auto;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 40px);
}
.login__header {
  padding: 20px 50px 25px 50px;
  border-bottom: 1px solid var(--ui-bdc);
  position: relative;
}
.login__title {
  font-size: 24px;
  font-weight: var(--ui-fw-bolder);
}
.login__caption {
  font-size: 13px;
  color: var(--ui-tt-fade);
  margin-top: 3px;
}
.login__close {
  font-size: 23px;
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 0;
  width: 40px;
  height: 40px;
}
.login__content {
  display: grid;
  gap: 20px;
  padding: 25px 50px;
  padding-bottom: 50px;
  position: relative;
}
.login__row,
.login__row.fal,
.login__row.fas {
  position: relative;
  display: grid;
  gap: 10px;
  justify-content: stretch;
}
.login__row-caption a,
.login__caption a {
  margin-left: 10px;
}
.login__row::before {
  position: absolute;
  left: 2px;
  bottom: 0;
  width: 40px;
  height: 50px;
  display: grid;
  place-items: center;
  opacity: 0.4;
  font-size: 18px;
}
.login__input input {
  padding-left: 40px;
  border-radius: var(--ui-bdrs);
  height: 50px;
  line-height: 48px;
}
.login__row button {
  width: 100%;
  height: 40px;
  border-radius: var(--ui-bdrs);
}
.login__social {
  padding-top: 10px;
  text-align: center;
  gap: 10px;
  margin-bottom: -20px;
}
.login__social-caption {
  font-size: 13px;
  color: var(--ui-tt-fade);
  width: 100%;
}
.login__social a {
  padding: 0 10px;
  border-radius: 20px;
  position: relative;
  width: 40px;
  height: 40px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login__social a::before {
  content: "";
  width: 40px;
  background: rgba(0, 0, 0, 0);
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
}
.login__social a img {
  position: absolute;
  left: 10px;
  top: 50%;
  height: 20px;
  width: 20px;
  z-index: 1;
  display: block;
  filter: invert(1);
  transform: translateY(-50%);
}
.login__social-vk {
  background-color: #587ba1;
}
.login__social-ok {
  background-color: #ff9800;
}
.login__social-fb {
  background-color: #3b5998;
}
.login__social-ml {
  background-color: #2196f3;
}
.login__social-gg {
  background-color: #f44336;
}
.login__social-ya {
  background-color: #fc3f1d;
}

.header__login-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  margin-left: 20px;
}
.header__favlink {
  font-size: 24px;
  display: block;
  position: relative;
  margin-left: 20px;
}
.header__favlink span {
  background-color: var(--red);
  color: #fff;
  font-size: 10px;
  position: absolute;
  right: -10px;
  top: -1px;
  min-width: 20px;
  text-align: center;
}
.header__login-panel {
  position: absolute;
  right: 0;
  top: 100%;
  width: 240px;
  padding-bottom: 10px;
  background-color: var(--bg);
  box-shadow: var(--bsh);
  margin-top: 15px;
  --tt: var(--tt);
}
.header__login-header {
  padding: 20px;
  color: var(--tt);
  font-weight: 700;
  gap: 20px;
  border-bottom: 2px solid var(--bdc);
  background-color: var(--bg-darker);
  margin-bottom: 10px;
}
.header__login-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.header__login-group span {
  font-size: 12px;
  font-weight: 400;
  margin-top: 2px;
  display: block;
  color: var(--tt-fade) !important;
}
.header__login-menu a {
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 0 20px 0 0;
}
.header__login-menu a::before {
  width: 40px;
  text-align: center;
  color: var(--green);
}
.header__login-menu-border {
  border-top: 2px solid var(--bdc);
  margin-top: 10px;
  padding-top: 10px;
}
.header__login-menu a span {
  font-size: 12px;
  margin-left: auto;
}

/* 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;
  z-index: 999;
  position: fixed;
  left: -360px;
  top: 0;
  transition: left 0.4s;
  background-color: var(--bg);
}
.mobile-menu.is-active {
  left: 0;
}
body.mobile-menu-is-opened {
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.mobile-menu__header {
  padding: 10px;
  gap: 10px;
  background: var(--bg-gradient);
  --tt: var(--tt-dark);
}
.mobile-menu__btn-close {
  font-size: 24px;
  width: 40px;
  height: 40px;
  margin-right: 0px;
}
.mobile-menu__content .header__menu {
  margin: 0;
  padding: 20px 0;
  display: block;
}
.mobile-menu__content .header__menu > li > a {
  height: 40px;
  line-height: 40px;
  padding: 0 20px;
}
.mobile-menu__content .header__menu-submenu {
  width: 100%;
  height: auto;
  position: static;
  display: none;
  border-radius: 0;
  padding: 20px 20px;
  background-color: var(--bg-darker);
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  font-size: 13px;
  gap: 12px 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mobile-menu__content .header__menu-submenu a {
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-menu__content .header__menu-has-submenu > a::after {
  content: "\f067";
  font-size: 18px;
  margin-left: auto;
  font-weight: 300;
}
.mobile-menu__content
  .header__menu-has-submenu.is-active
  .header__menu-submenu {
  display: grid;
}
.mobile-menu__content .header__menu-has-submenu.is-active > a::after {
  content: "\f068";
}

@media screen and (max-width: 1220px) {
  :root {
    --indent-negative: -20px;
    --indent: 20px;
  }
  body {
    background-image: none;
  }
  .wrappers {
    padding: 0;
    background-image: none;
    overflow: hidden;
  }
  .wrapper__container {
    max-width: 1000px;
  }
  .header .header__menu {
    display: none;
  }
  .header__search {
    width: 100%;
    order: 10;
    margin: 10px 0 30px 0;
  }
  .header__btn-login {
    background-color: var(--bdc-dark);
    color: var(--tt-dark);
    padding: 0 10px;
    font-weight: 400;
    height: 30px;
  }
  .header__btn-menu {
    display: flex;
    margin-left: 20px;
    padding: 0;
    width: 40px;
    border-radius: 50%;
    font-size: 18px;
  }
  .site-desc .sect__title {
    font-size: 26px;
  }
  .footer__one,
  .footer__two {
    gap: 20px;
  }
  .footer__two {
    margin-top: 30px;
  }
  .footer__menu {
    min-width: 100%;
  }
  .footer__text {
    min-width: 100%;
    order: -1;
  }
  .footer .header__caption {
    margin: 0;
  }
  .d-grid-items-5 {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px 10px;
  }
  .d-grid-items-3 {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
  .hero--decor .hero__inner::before {
    right: -140px;
  }
  .hero--decor .hero__inner::after {
    right: -130px;
  }

  .page__cols {
    display: block;
  }
  .page__cols-side {
    margin-top: 30px;
  }
  .page__cols-main {
    padding: 20px;
  }
  .page__scr {
    margin-left: -20px;
    margin-right: -20px;
    padding: 20px;
  }
  .page__dl-content {
    margin-left: -20px;
    margin-right: -20px;
    padding: 20px;
  }
  .page__trailer {
    margin-left: -20px;
    margin-right: -20px;
  }
}

@media screen and (max-width: 950px) {
  .wrapper__container {
    max-width: 768px;
  }
  .pagination {
    gap: 10px;
  }
  .pagination__btn-loader a,
  .pagination__btn-loader span {
    width: 100%;
  }
  .pagination > a,
  .pagination > span {
    flex-grow: 1;
    order: 10;
  }
  .pagination__pages {
    width: 100%;
  }
  .pagination__pages a,
  .pagination__pages span {
    flex-grow: 1;
  }

  .page__cols-main {
    margin-left: var(--indent-negative);
    margin-right: var(--indent-negative);
  }
}

@media screen and (max-width: 760px) {
  .wrapper__container {
    max-width: 640px;
  }
  .login__header,
  .login__content {
    padding: 20px;
  }
  .login__social {
    margin-bottom: 0;
  }
  .login__row::before {
    height: 40px;
  }
  .login__input input {
    height: 40px;
    line-height: 40px;
    box-shadow: none;
    border: 0;
    background-color: var(--bg-darker);
  }
  .login__social a {
    border-radius: var(--bdrs);
    height: 30px;
    flex: 1 0 30%;
  }
  .login__social a img {
    left: 50%;
    margin-left: -10px;
  }
  .header .header__caption {
    display: none;
  }
  .header__logo {
    flex: 1 1 0;
    max-width: 100%;
    min-width: 120px;
    padding-left: 75px;
  }
  .hero__title {
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 10px;
  }
  .hero__title span {
    margin: 0;
  }
  .site-desc h1,
  .site-desc h2,
  .site-desc h3 {
    font-size: 20px;
  }
  .sect-desc__img {
    width: 100px;
    height: 100px;
  }
  .d-grid-items-5 {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }
  .d-grid-items-3,
  .d-grid-items-4 {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px;
  }
  .pagination {
    padding-top: 10px;
  }
  .sect__title {
    min-width: 100%;
    order: -1;
    font-size: 24px;
  }
  .item-card .item__meta {
    margin-left: -10px;
    margin-right: -10px;
    padding-top: 10px;
    margin-bottom: -10px;
  }
  .item-card .item__title {
    font-size: 15px;
    margin-top: 0px;
  }
  .scroller__content {
    margin-right: var(--indent-negative);
  }
  .sect--white {
    margin: 0 var(--indent-negative) !important;
    padding: 30px var(--indent);
  }

  .page__header-title h1 {
    font-size: 24px;
  }
  .page__header {
    grid-template-areas: "ptitle ptitle" "pleft pleft" "pinfo pinfo" "pctrl pctrl";
    grid-template-columns: 130px minmax(0, 1fr);
  }
  .page__img {
    width: 130px;
    height: 130px;
  }
  .page__header-ctrl {
    gap: 10px;
  }
  .page__btn-dl {
    padding: 0 20px;
    width: auto;
  }
  .page__header-ctrl > a:not([class]) {
    width: 100%;
    justify-content: center;
    order: 10;
  }
  .page__scr ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-right: -20px;
    width: calc(100% + 20px);
    scrollbar-width: none;
  }
  .page__scr ul::-webkit-scrollbar {
    display: none;
  }
  .page__scr ul li {
    flex: 0 0 160px;
    width: 160px;
    scroll-snap-align: start;
  }
  .dl__desc {
    min-width: calc(100% - 60px);
  }
  .dl__btn {
    flex-grow: 1;
  }
  .dl {
    padding: 10px;
    gap: 10px;
  }
  .page__rating-score-caption {
    display: none;
  }
  .page__rating-score {
    top: -150px;
    width: calc(100vw - 190px);
    height: 88px;
    padding: 0;
  }
  .page__fav a {
    top: -60px;
    width: calc(100vw - 190px);
  }
  .page__list li {
    padding-left: 130px;
    text-align: right;
  }

  .page--dl .page__header {
    grid-template-areas: "ptitle" "rkl" "pleft" "pinfo" "pctrl";
    grid-template-columns: minmax(0, 1fr);
  }
  .page--dl .page__header-ctrl > a:not([class]) {
    width: 100%;
    height: 40px;
  }
  .page--dl .page__img {
    margin: 0 auto;
  }
  .page--dl .page__header-title {
    text-align: center;
  }
  .page--dl .page__rating-score-caption {
    display: block;
  }

  .page__title {
    font-size: 24px;
  }
  .full-text h1,
  .full-text h2,
  .full-text h3,
  .full-text h4,
  .full-text h5 {
    font-size: 20px;
  }
  .page__intro,
  .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;
  }

  .ac-form__bottom {
    gap: 10px;
  }
  .ac-form__bottom button {
    padding: 0 20px;
  }
  .ac-form__header input + input {
    min-width: 100%;
    order: 10;
  }
  .ac-form__header > span,
  .comm__rating::before {
    display: none;
  }
  .ac-form #b_color {
    display: none;
  }
  .ac-form__bottom button {
    position: static !important;
    width: 100% !important;
  }
}

@media screen and (max-width: 590px) {
  .wrapper__container {
    max-width: 480px;
  }
  .logo {
    font-size: 14px;
  }
  .logo__subtitle {
    font-size: 18px;
    margin-top: 10px;
  }
  .header__favlink {
    display: none;
  }
  .header__btn-menu,
  .header__btn-login,
  .theme-toggle,
  .header__login-img {
    margin-left: 10px;
  }
  .hero--decor .hero__inner {
    padding-bottom: 0px;
  }
  .hero--decor .hero__inner::before {
    right: -100px;
    bottom: -220px;
    width: 340px;
    height: 340px;
  }
  .hero--decor .hero__inner::after {
    display: none;
    background-image: none;
  }
  .sect--bg {
    background: var(--bg-gradient);
    background-blend-mode: normal;
  }
}

@media screen and (max-width: 470px) {
  .wrapper__container123 {
    max-width: 360px;
  }
  .header__caption {
    padding: 0;
    border: 0;
  }
  .header__caption br {
    display: none;
  }
  .footer__menu {
    gap: 10px 20px;
  }
  .site-desc {
    padding-top: 25px;
  }
  .site-desc .sect__title {
    margin: 0;
  }
  .sect {
    margin-bottom: 30px;
  }
  .sect--bg {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .scroller__content .item-ext {
    width: calc(100vw - 60px);
  }
  .item-ext__bottom {
    padding: 15px;
    gap: 15px;
  }
  .hero__menu {
    padding-top: 10px;
    margin-bottom: -10px;
  }

  .page__scr ul li {
    flex: 0 0 220px;
    width: 220px;
  }
  .page__message {
    margin-left: var(--indent-negative);
    margin-right: var(--indent-negative);
    padding-left: 18px;
  }

  .ac-form__bottom .comments_subscribe {
    font-size: 13px;
  }
  .full-text iframe {
    width: calc(100% + 40px);
    max-width: calc(100% + 40px);
    height: 260px;
    margin-left: -20px;
    margin-right: -20px;
  }
}
