@charset "UTF-8";
/* rgba(42, 42, 42, 0.5) */
.refresh-icon {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: -2px;
}
.refresh-icon::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(#E0E0E0 0deg 90deg, transparent 90deg 135deg, #E0E0E0 135deg 360deg);
  -webkit-mask: radial-gradient(circle, transparent calc(6px - 1%), black 6px);
          mask: radial-gradient(circle, transparent calc(6px - 1%), black 6px);
}
.refresh-icon::after {
  content: "";
  position: absolute;
  left: 8px;
  top: -2px;
  width: 0;
  height: 0;
  border-left: 4px solid #E0E0E0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  transform-origin: 0 10px;
  transform: rotate(90deg);
}
.refresh-icon .arrow {
  position: absolute;
  top: 8px;
  left: 8px;
}
.refresh-icon .arrow::before, .refresh-icon .arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 1px;
  background-color: #E0E0E0;
}
.refresh-icon .arrow::before {
  height: 4px;
  transform-origin: bottom center;
  transform: rotate(215deg);
}
.refresh-icon .arrow::after {
  height: 5px;
  transform-origin: bottom center;
  transform: rotate(60deg);
}

/* Основные стили для галереи */
.galery {
  width: 100%;
  margin: 0 auto;
  position: relative;
  background-color: #000;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.swiper-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  cursor: grab;
}

/* Навигационные кнопки */
.swiper-button {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
}

.swiper-container:hover .swiper-button {
  opacity: 1;
  pointer-events: auto;
}

.swiper-button-next {
  right: 10px;
  background-image: url("/images/3.png");
}

.swiper-button-prev {
  left: 10px;
  background-image: url("/images/4.png");
}

.swiper-button-next::after, .swiper-button-prev::after {
  content: none;
}

/* Миниатюры */
.gallery-thumbs {
  height: 64px;
  margin: 5px auto;
  display: flex;
  justify-content: center;
}

.gallery-thumbs .swiper-slide {
  width: 96px;
  height: 54px;
  cursor: pointer;
}

.gallery-thumbs .swiper-slide-thumb-active {
  border: 2px solid #DC143C;
}

/* Полноэкранный режим */
.gallery-top.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 150;
  background: rgba(0, 0, 0, 0.9);
}

.gallery-top.fullscreen .swiper-slide img {
  max-width: 100%;
  max-height: 100vh;
  -o-object-fit: contain;
     object-fit: contain;
  margin: auto;
  display: block;
}

.gallery-top.fullscreen .swiper-button {
  position: fixed;
  width: 50px;
  height: 50px;
}

.gallery-top.fullscreen .swiper-button-next {
  right: 30px;
}

.gallery-top.fullscreen .swiper-button-prev {
  left: 30px;
}

/* Кнопка полноэкранного режима */
.fullscreen-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 50;
  cursor: pointer;
  width: 30px;
  height: 30px;
  background-size: cover;
  background-image: url("/images/fullscreenOn.png");
}

.fullscreen-button.fullscreen-active {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 150;
  width: 50px;
  height: 50px;
  background-image: url("/images/fullscreenOff.png");
}

@media (max-width: 1080px) {
  .fullscreen-button.fullscreen-active {
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
  }
  .swiper-container:hover .swiper-button {
    opacity: 0;
    pointer-events: none;
  }
  .gallery-thumbs {
    height: 55px;
  }
  .gallery-thumbs .swiper-slide {
    width: 80px;
    height: 45px;
  }
}
.layout {
  display: flex;
  min-height: 100vh;
  flex-direction: row;
}

.main-content, .sidebar {
  padding: 5px;
}

.main-content {
  width: 70%;
  display: flex;
  flex-direction: column;
}

.recommendations {
  display: grid;
  grid-gap: 15px;
  grid-template-columns: repeat(1, 1fr);
}

.sidebar {
  width: 30%;
  display: flex;
  flex-direction: column;
}
.sidebar .card {
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: #1E1E1E;
  border-radius: 11px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}
.sidebar .card .image {
  margin: 0;
  position: relative;
}
.sidebar .card .image img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: auto;
  margin: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.sidebar .card .info-panel {
  padding: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}
.sidebar .card .info-panel .header {
  display: grid;
  grid-template-columns: 1fr auto;
  margin-bottom: 10px;
}
.sidebar .card .info-panel .header h2 {
  margin: 0;
  color: #F5F5F5;
}
.sidebar .card .info-panel .header .title, .sidebar .card .info-panel .header .tags {
  justify-self: start;
  grid-column: 1;
}
.sidebar .card .info-panel .header .rating, .sidebar .card .info-panel .header .statistics {
  justify-self: end;
  grid-column: 2;
}
.sidebar .card .info-panel .header .rating .stars, .sidebar .card .info-panel .header .statistics .stars {
  display: flex;
  white-space: nowrap;
  gap: 3px;
  margin: 6px 0;
}
.sidebar .card .info-panel .header .rating .stars .star, .sidebar .card .info-panel .header .statistics .stars .star {
  position: relative;
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  clip-path: polygon(50% 0%, 66.67% 32.14%, 100% 39.29%, 76.67% 64.29%, 83.33% 100%, 50% 85.71%, 16.67% 100%, 23.33% 64.29%, 0% 39.29%, 33.33% 32.14%);
}
.sidebar .card .info-panel .header .rating .stars .full, .sidebar .card .info-panel .header .statistics .stars .full {
  background: #DC143C;
}
.sidebar .card .info-panel .header .rating .stars .half, .sidebar .card .info-panel .header .statistics .stars .half {
  background: linear-gradient(to right, #DC143C 50%, #A0A0A0 50%);
}
.sidebar .card .info-panel .header .rating .stars .empty, .sidebar .card .info-panel .header .statistics .stars .empty {
  background: #A0A0A0;
}
.sidebar .card .info-panel .header .rating .views, .sidebar .card .info-panel .header .statistics .views {
  position: relative;
  padding-left: 2em;
}
.sidebar .card .info-panel .header .rating .views::before, .sidebar .card .info-panel .header .rating .views::after, .sidebar .card .info-panel .header .statistics .views::before, .sidebar .card .info-panel .header .statistics .views::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.sidebar .card .info-panel .header .rating .views::before, .sidebar .card .info-panel .header .statistics .views::before {
  top: 0.18em;
  left: 0.3em;
  width: 1em;
  height: 0.5em;
  border: 2px solid #E0E0E0;
  border-radius: 50%/45%;
}
.sidebar .card .info-panel .header .rating .views::after, .sidebar .card .info-panel .header .statistics .views::after {
  top: 0.3em;
  left: 0.7em;
  width: 0.5em;
  height: 0.5em;
  background-color: #E0E0E0;
}
.sidebar .card .info-panel .header .rating .download-icon, .sidebar .card .info-panel .header .statistics .download-icon {
  display: inline-block;
  width: 1em;
  height: 0.3em;
  margin-right: 0.3em;
  position: relative;
  border-radius: 2px;
  border: 2px solid #E0E0E0;
  border-top: 2px solid transparent;
}
.sidebar .card .info-panel .header .rating .download-icon::before, .sidebar .card .info-panel .header .statistics .download-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.25em;
  transform: translateX(-50%);
  width: 0.25em;
  height: 0.4em;
  background-color: #E0E0E0;
}
.sidebar .card .info-panel .header .rating .download-icon::after, .sidebar .card .info-panel .header .statistics .download-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 0.4em solid transparent;
  border-right: 0.4em solid transparent;
  border-top: 0.3em solid #E0E0E0;
}
.sidebar .card .info-panel .header .title, .sidebar .card .info-panel .header .rating {
  margin-bottom: 10px;
  grid-row: 1;
}
.sidebar .card .info-panel .header .tags {
  font-size: 14px;
  grid-row: 2;
}
.sidebar .card .info-panel .header .tags a {
  padding: 3px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, -webkit-text-decoration 0.3s ease;
  transition: background-color 0.3s ease, color 0.3s ease, text-decoration 0.3s ease;
  transition: background-color 0.3s ease, color 0.3s ease, text-decoration 0.3s ease, -webkit-text-decoration 0.3s ease;
}
.sidebar .card .info-panel .header .tags a:hover {
  color: #F5F5F5;
  text-decoration: underline;
}
.sidebar .card .info-panel .header .statistics {
  display: flex;
  justify-content: center;
  gap: 5px;
  grid-row: 2;
}
.sidebar .card .info-panel .description {
  margin-bottom: 10px;
}
.sidebar .card .info-panel .footer {
  display: flex;
  justify-content: space-between;
}

.info-panel {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.info-panel .left, .info-panel .right {
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.info-panel .left .rating, .info-panel .right .rating {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 10px;
}
.info-panel .left .rating .stars, .info-panel .right .rating .stars {
  display: flex;
  white-space: nowrap;
  gap: 3px;
  margin: 6px 0;
}
.info-panel .left .rating .stars .star, .info-panel .right .rating .stars .star {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 28px;
  clip-path: polygon(50% 0%, 66.67% 32.14%, 100% 39.29%, 76.67% 64.29%, 83.33% 100%, 50% 85.71%, 16.67% 100%, 23.33% 64.29%, 0% 39.29%, 33.33% 32.14%);
}
.info-panel .left .rating .stars .full, .info-panel .right .rating .stars .full {
  background: #DC143C;
}
.info-panel .left .rating .stars .half, .info-panel .right .rating .stars .half {
  background: linear-gradient(to right, #DC143C 50%, #A0A0A0 50%);
}
.info-panel .left .rating .stars .empty, .info-panel .right .rating .stars .empty {
  background: #A0A0A0;
}

.download {
  transition: background-color 0.3s ease;
  font-size: 120%;
  padding: 10px;
  width: 140px;
  height: 20px;
  text-align: center;
  border-radius: 15px;
  background-color: #DC143C;
  text-decoration: none;
  color: #F5F5F5;
  float: right;
}
.download:hover {
  background-color: rgb(173.25, 15.75, 47.25);
  cursor: pointer;
}

.description {
  padding-top: 10px;
  border: 0;
  border-top: 1px solid #333;
}
.description ul {
  list-style: disc;
  margin: 0 20px;
}
.description .name-list {
  overflow: hidden;
  max-height: 2000px;
  transition: max-height 0.6s ease;
}
.description .name-list.small {
  max-height: 120px;
  box-shadow: inset 0 -10px 10px -10px rgba(0, 0, 0, 0.6);
}
.description .name-list .tablet-header {
  text-align: center;
}
.description .name-list .copy-item {
  cursor: pointer;
  transition: background-color 0.6s ease;
}
.description .name-list .copy-item.copied {
  background-color: #DC143C;
  transition: none;
}
.description .name-list table {
  width: 100%;
  border-collapse: collapse;
}
.description .name-list tr, .description .name-list td {
  padding: 3px 12px;
  border: 1px solid #333;
}
.description .toggle-name-list {
  position: relative;
  display: block;
  margin: 10px auto;
}

@media (max-width: 1080px) {
  .main-content, .sidebar {
    width: 100%;
  }
  .layout {
    flex-direction: column;
  }
  .info-panel {
    flex-direction: column;
  }
  .download {
    width: auto;
  }
}
