.watch-catpage .watch-catpagination {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 32px 0 18px;
  padding: 0 16px;
  box-sizing: border-box;
}

.watch-catpage .watch-catpagination[hidden],
.watch-catpage .watch-catpagination:empty {
  display: none !important;
}

.watch-catpage .watch-catpagination .navigation {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.watch-catpage .watch-catpagination .navigation::after {
  display: none !important;
}

.watch-catpage .watch-catpagination .page_next-prev {
  display: contents !important;
  float: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.watch-catpage .watch-catpagination .pages {
  display: flex !important;
  align-items: center;
  gap: 7px;
  order: 1;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

.watch-catpage .watch-catpagination .page_prev {
  order: 0;
}

.watch-catpage .watch-catpagination .page_next {
  order: 2;
}

.watch-catpage .watch-catpagination .page_prev:not(:has(> a)),
.watch-catpage .watch-catpagination .page_next:not(:has(> a)) {
  display: none !important;
}

.watch-catpage .watch-catpagination .pages > a,
.watch-catpage .watch-catpagination .pages > span:not(.nav_ext) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 10px;
  box-sizing: border-box;
  color: #f3f3f3 !important;
  background: #151515 !important;
  box-shadow: none !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  transition: background-color .16s ease, color .16s ease, transform .16s ease;
}

.watch-catpage .watch-catpagination .page_prev,
.watch-catpage .watch-catpagination .page_next {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 10px;
  color: #f3f3f3 !important;
  background: #151515 !important;
  box-shadow: none !important;
  transition: background-color .16s ease, color .16s ease, transform .16s ease;
}

.watch-catpage .watch-catpagination .page_prev > a,
.watch-catpage .watch-catpagination .page_next > a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  background: transparent !important;
}

.watch-catpage .watch-catpagination .pages > span:not(.nav_ext) {
  color: #0b0b0b !important;
  background: #fff !important;
}

.watch-catpage .watch-catpagination .pages > a:hover,
.watch-catpage .watch-catpagination .page_prev:hover,
.watch-catpage .watch-catpagination .page_next:hover {
  color: #fff !important;
  background: #242424 !important;
  transform: translateY(-1px);
}

.watch-catpage .watch-catpagination .nav_ext {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  color: #777 !important;
  background: transparent !important;
}

.watch-catpage .watch-catpagination .page_prev .icon-left,
.watch-catpage .watch-catpagination .page_next .icon-right {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.watch-catpage.is-page-loading .watch-catgrid {
  opacity: .64;
  pointer-events: none;
  transition: opacity .14s ease;
}

.watch-catpage.is-page-loading .watch-catpagination {
  pointer-events: none;
  opacity: .58;
}

:is(html[data-watch-theme="light"], html[data-theme="light"], html.watch-theme-light, body.watch-theme-light)
  .watch-catpage .watch-catpagination .pages > a,
:is(html[data-watch-theme="light"], html[data-theme="light"], html.watch-theme-light, body.watch-theme-light)
  .watch-catpage .watch-catpagination .page_prev,
:is(html[data-watch-theme="light"], html[data-theme="light"], html.watch-theme-light, body.watch-theme-light)
  .watch-catpage .watch-catpagination .page_next {
  color: #202020 !important;
  background: #e8e8e8 !important;
}

:is(html[data-watch-theme="light"], html[data-theme="light"], html.watch-theme-light, body.watch-theme-light)
  .watch-catpage .watch-catpagination .pages > span:not(.nav_ext) {
  color: #fff !important;
  background: #171717 !important;
}

:is(html[data-watch-theme="light"], html[data-theme="light"], html.watch-theme-light, body.watch-theme-light)
  .watch-catpage .watch-catpagination .pages > a:hover,
:is(html[data-watch-theme="light"], html[data-theme="light"], html.watch-theme-light, body.watch-theme-light)
  .watch-catpage .watch-catpagination .page_prev:hover,
:is(html[data-watch-theme="light"], html[data-theme="light"], html.watch-theme-light, body.watch-theme-light)
  .watch-catpage .watch-catpagination .page_next:hover {
  color: #111 !important;
  background: #d7d7d7 !important;
}

@media (max-width: 640px) {
  .watch-catpage .watch-catpagination {
    justify-content: flex-start;
    margin-top: 24px;
    padding: 0 10px 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .watch-catpage .watch-catpagination::-webkit-scrollbar {
    display: none;
  }

  .watch-catpage .watch-catpagination .navigation {
    margin: 0 auto !important;
  }

  .watch-catpage .watch-catpagination .pages > a,
  .watch-catpage .watch-catpagination .pages > span:not(.nav_ext) {
    min-width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .watch-catpage .watch-catpagination .page_prev,
  .watch-catpage .watch-catpagination .page_next {
    flex-basis: 36px;
    width: 36px;
    height: 36px !important;
    border-radius: 9px;
  }
}
