body.contest.image-view {
  background-color: var(--wp--preset--color--contrast);
}
body.contest.image-view .contest-image-page {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.contest.image-view {
  position: relative;
  padding: 0;
  margin: 0;
}
.contest.image-view .wp-site-blocks {
  position: relative;
  padding: 0;
  margin: 0;
}
.contest.image-view .wp-site-blocks header.hdr-empty {
  position: relative;
  padding: 0;
  margin: 0;
}
.contest.image-view .wp-site-blocks .wp-block-group {
  position: relative;
  padding: 0;
  margin: 0;
}
.contest.image-view .wp-site-blocks .wp-block-group .entry-content {
  position: relative;
  padding: 0;
  margin: 0;
}
.contest.image-view .contest-image-page-header {
  position: absolute;
  height: 60px;
  left: 0;
  right: 0;
  top: 0;
  padding-left: 15px;
  padding-top: 10px;
  box-sizing: border-box;
}
.contest.image-view .contest-image-page-header .button-close .a-close i {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
}
.contest.image-view .contest-image-page {
  position: relative;
  padding: 0;
  margin: 0;
  background: rgb(40, 40, 40);
  display: grid;
  place-items: center;
}
.contest.image-view .contest-image-page .image-wrapper {
  display: grid;
  place-items: center;
  padding: 60px 0px 0px 0px;
  box-sizing: border-box;
  max-width: 100%;
  max-height: 100vh;
  min-width: 0;
  min-height: 0;
}
.contest.image-view .contest-image-page .image-wrapper .image-container {
  position: relative;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .top-box {
  position: absolute;
  top: calc(-1 * 25px);
  width: 100%;
  height: 25px;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .top-box .top-box-left {
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  line-height: 1em;
  padding: 0 8px;
  text-transform: uppercase;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .top-box .top-box-center {
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  line-height: 1em;
  padding: 0 8px;
  text-transform: uppercase;
  flex-grow: 9;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .top-box .top-box-right {
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  line-height: 1em;
  padding: 0 8px;
  text-transform: uppercase;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .top-box .top-box-right .label {
  opacity: 0.6;
  margin-right: 4px;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .top-box .top-box-right .value {
  font-weight: bold;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box {
  position: absolute;
  bottom: calc(-1 * 80px);
  height: 80px;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .bottom-box-left {
  justify-self: start;
  align-self: start;
  padding-left: 10px;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .bottom-box-left .fa-thumbs-down {
  transform: scaleX(-1);
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .grade-box {
  justify-self: center;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .bottom-box-right {
  justify-self: end;
  align-self: start;
  padding-right: 10px;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-buttons.fade-in {
  opacity: 1;
  transform: translateY(0);
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-buttons .vote-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 18px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-buttons .vote-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-buttons .vote-btn:active {
  transform: translateY(0);
  transition: all 0.1s ease;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-buttons .vote-btn i {
  font-size: 16px;
  transition: transform 0.2s ease;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-buttons .vote-btn:hover i {
  transform: scale(1.1);
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-buttons .vote-btn.vote-like {
  border: 2px solid #28a745;
  color: white;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-buttons .vote-btn.vote-like:hover {
  background: rgba(40, 167, 69, 0.2);
  border-color: #20c997;
  color: white;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-buttons .vote-btn.vote-like:active {
  background: rgba(40, 167, 69, 0.3);
  color: white;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-buttons .vote-btn.vote-dislike {
  border: 2px solid #dc3545;
  color: white;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-buttons .vote-btn.vote-dislike i {
  transform: scaleX(-1);
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-buttons .vote-btn.vote-dislike:hover {
  background: rgba(220, 53, 69, 0.2);
  border-color: #e74c3c;
  color: white;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-buttons .vote-btn.vote-dislike:hover i {
  transform: scaleX(-1) scale(1.1);
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-buttons .vote-btn.vote-dislike:active {
  background: rgba(220, 53, 69, 0.3);
  color: white;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-data {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-data.fade-in {
  opacity: 1;
  transform: translateY(0);
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-data.hided {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  text-transform: uppercase;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-data .vote-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: color 0.3s ease;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-data .vote-item i {
  font-size: 16px;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-data .vote-item .vote-count {
  font-weight: 500;
  min-width: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-data .vote-item.vote-positive.active {
  color: var(--sl-color-success-600, #28a745);
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-data .vote-item.vote-positive.active i {
  color: var(--sl-color-success-600, #28a745);
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-data .vote-item.vote-negative.active {
  color: var(--sl-color-danger-600, #dc3545);
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .voting-data .vote-item.vote-negative.active i {
  color: var(--sl-color-danger-600, #dc3545);
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .favorites-container {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .favorites-container.fade-in {
  opacity: 1;
  transform: translateY(0);
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .favorites-container .favorite-icon {
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.8);
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .favorites-container .favorite-icon:hover {
  transform: scale(1.1);
  color: rgb(255, 255, 255);
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .favorites-container .favorite-icon:active {
  transform: scale(0.95);
  transition: all 0.1s ease;
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .favorites-container .favorite-icon.fa-solid {
  color: var(--sl-color-success-600, #28a745);
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .favorites-container .favorite-icon.fa-solid:hover {
  color: var(--sl-color-success-500, #20c997);
  transform: scale(1.1);
}
.contest.image-view .contest-image-page .image-wrapper .image-container .bottom-box .favorites-container .favorites-count {
  font-weight: 500;
  min-width: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
}
.contest.image-view .contest-image-page .image-wrapper .image-navigation {
  width: 100%;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 0 15px 0;
  position: absolute;
}
.contest.image-view .contest-image-page .image-wrapper .image-navigation .nav-button.disabled {
  opacity: 0.3;
}
.contest.image-view .contest-image-page .image-wrapper .image-navigation .nav-button i {
  color: rgba(255, 255, 255, 0.4);
  font-size: 32px;
}
.contest.image-view .contest-image-page .comment-wrapper {
  margin-top: 80px;
  width: 100%;
  display: flex;
  padding: 0 15px;
  box-sizing: border-box;
  background: #e8eaed;
  padding-top: 20px;
  flex-direction: column;
  align-items: center;
}
.contest.image-view .contest-image-page .comment-wrapper .comment-form {
  width: 100%;
  max-width: 600px;
}
.contest.image-view .contest-image-page .comment-wrapper .comment-form .comment-submit-btn {
  margin-top: 4px;
}
.contest.image-view .contest-image-page .comment-wrapper .comments-list {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 0 0 0;
  box-sizing: border-box;
  position: relative;
  min-height: 110px;
}
.contest.image-view .contest-image-page .comment-wrapper .comments-list.empty {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 40px 15px;
}
.contest.image-view .contest-image-page .comment-wrapper .comment-item {
  background: #fff;
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
  max-width: 100%;
  position: relative;
  box-sizing: border-box;
}
.contest.image-view .contest-image-page .comment-wrapper .comment-item.new_comment {
  background: hsl(46, 100%, 90.8%);
}
.contest.image-view .contest-image-page .comment-wrapper .comment-item.author_photo {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}
.contest.image-view .contest-image-page .comment-wrapper .comment-item.author_photo .comment-author-name {
  color: white;
  font-weight: 700;
}
.contest.image-view .contest-image-page .comment-wrapper .comment-item.author_photo .comment-date {
  color: rgba(255, 255, 255, 0.8);
}
.contest.image-view .contest-image-page .comment-wrapper .comment-item.author_photo .comment-text {
  color: white;
}
.contest.image-view .contest-image-page .comment-wrapper .comment-item.author_photo .comment-avatar-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}
.contest.image-view .contest-image-page .comment-wrapper .comment-item.author_comment .comment-author-name {
  color: #4a90e2;
  font-weight: 600;
}
.contest.image-view .contest-image-page .comment-wrapper .comment-item.author_comment .comment-date {
  color: #666;
}
.contest.image-view .contest-image-page .comment-wrapper .comment-item.author_comment .comment-text {
  color: #333;
}
.contest.image-view .contest-image-page .comment-wrapper .comment-item.author_comment .comment-avatar-icon {
  background: #e3f2fd;
  color: #4a90e2;
}
.contest.image-view .contest-image-page .comment-wrapper .comment-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.contest.image-view .contest-image-page .comment-wrapper .comment-item:hover.author_photo {
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}
.contest.image-view .contest-image-page .comment-wrapper .comment-item:hover.author_comment {
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.25);
}
.contest.image-view .contest-image-page .comment-wrapper .comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.contest.image-view .contest-image-page .comment-wrapper .comment-author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.contest.image-view .contest-image-page .comment-wrapper .comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}
.contest.image-view .contest-image-page .comment-wrapper .comment-avatar-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
  background: #f0f0f0;
  color: #666;
}
.contest.image-view .contest-image-page .comment-wrapper .comment-author-name {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}
.contest.image-view .contest-image-page .comment-wrapper .comment-date {
  font-size: 12px;
  color: #666;
}
.contest.image-view .contest-image-page .comment-wrapper .comment-content {
  margin-top: 8px;
}
.contest.image-view .contest-image-page .comment-wrapper .comment-text {
  margin: 0;
  line-height: 1.4;
  word-wrap: break-word;
  color: #333;
  font-size: 16px;
}
.contest.image-view .contest-image-page .contest-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: max(0px, 100vh - 60px);
}
@supports (height: 1svh) {
  .contest.image-view .contest-image-page .image-wrapper {
    max-height: 100svh;
  }
  .contest.image-view .contest-image-page .contest-image {
    max-height: max(0px, 100svh - 60px);
  }
}

.images-wrapper {
  display: grid;
  gap: 32px;
}
.images-wrapper .cab-image-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.images-wrapper .cab-image-list.pending .card-cab-image.pending .card-link .id i {
  color: hsl(45.9, 96.7%, 64.5%);
}
.images-wrapper .cab-image-list.approved .card-cab-image.approved .card-link .id i {
  color: hsl(141.7, 76.6%, 73.1%);
}
.images-wrapper .cab-image-list.rejected .card-cab-image.rejected .cover .image {
  filter: brightness(0.5) grayscale(80%);
}
.images-wrapper .cab-image-list.rejected .card-cab-image.rejected .card-link .id i {
  color: hsl(0, 93.5%, 81.8%);
}
.images-wrapper .card-cab-image {
  position: relative;
  box-sizing: border-box;
}
.images-wrapper .card-cab-image .cover {
  cursor: pointer;
  display: block;
  position: relative;
  width: 100%;
  padding-top: 75%;
}
.images-wrapper .card-cab-image .cover .image {
  filter: brightness(0.7);
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}
.images-wrapper .card-cab-image .cover .card-link {
  padding: 0;
  box-sizing: border-box;
  display: flex;
  top: 0;
  bottom: 0;
  width: 100%;
  position: absolute;
  justify-content: center;
  align-items: center;
  color: white;
  text-decoration: none;
  line-height: 1.2em;
  font-weight: 700;
  text-transform: uppercase;
}
.images-wrapper .card-cab-image .cover .card-link .id {
  position: absolute;
  top: 5px;
  left: 5px;
  display: flex;
  font-size: 12px;
  align-items: center;
  gap: 4px;
  font-weight: 300;
  line-height: 1em;
}
.images-wrapper .card-cab-image .cover .card-link .id i {
  font-size: 10px;
}
.images-wrapper .card-cab-image .cover .card-link .title {
  font-size: 15px;
  text-align: center;
  padding: 10px;
}
.images-wrapper .card-cab-image .footer {
  position: absolute;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 10px 10px;
  box-sizing: border-box;
  font-size: 12px;
}
.images-wrapper .card-cab-image .footer a.edit {
  background-color: var(--sl-color-primary-600);
  color: white;
}
.images-wrapper .card-cab-image .footer a.view {
  padding: 12px 12px;
  border-radius: 50%;
}
.images-wrapper .card-cab-image .footer a.view .text {
  display: none;
}
.images-wrapper .card-cab-image .footer a {
  color: white;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  border-radius: 6px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 410px) {
  .images-wrapper .cab-image-list {
    grid-template-columns: repeat(1, 1fr) !important;
  }
  .images-wrapper .cab-image-list .card-cab-image .cover {
    padding-top: 70%;
  }
  .images-wrapper .cab-image-list .card-cab-image .cover .card-link .title {
    font-size: 16px;
  }
}
@media screen and (min-width: 411px) and (max-width: 460px) {
  .images-wrapper .cab-image-list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  .images-wrapper .cab-image-list .card-cab-image .cover .card-link .title {
    font-size: 14px;
  }
}
@media screen and (min-width: 461px) and (max-width: 690px) {
  .images-wrapper .cab-image-list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  .images-wrapper .cab-image-list .card-cab-image .cover .card-link .title {
    font-size: 15px;
  }
}
@media screen and (min-width: 691px) and (max-width: 1000px) {
  .images-wrapper .cab-image-list {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px;
  }
}
.contest-page .block-images .contest-gallery-empty {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px;
  margin: 2rem 1rem;
  color: #6c757d;
  font-size: 1.1rem;
  line-height: 1.5;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
@media (max-width: 768px) {
  .contest-page .block-images .contest-gallery-empty {
    padding: 2rem 1rem;
    margin: 1rem 0.5rem;
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .contest-page .block-images .contest-gallery-empty {
    padding: 1.5rem 0.75rem;
    font-size: 0.9rem;
  }
}
.contest-page .block-images .contest-gallery {
  margin-top: 16px;
}
.contest-page .block-images .contest-gallery .contest-gallery-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 0 8px;
}
.contest-page .block-images .contest-gallery .contest-gallery-wrapper .contest-gallery-item {
  position: relative;
}
.contest-page .block-images .contest-gallery .contest-gallery-wrapper .contest-gallery-item .item {
  position: relative;
}
.contest-page .block-images .contest-gallery .contest-gallery-wrapper .contest-gallery-item .item .img {
  position: relative;
}
.contest-page .block-images .contest-gallery .contest-gallery-wrapper .contest-gallery-item .item .img .contest-image-link {
  position: relative;
  display: block;
  text-decoration: none;
}
.contest-page .block-images .contest-gallery .contest-gallery-wrapper .contest-gallery-item .item .img .contest-image-link .contest-image-preview {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.contest-page .block-images .contest-gallery .contest-gallery-wrapper .contest-gallery-item .item .img .contest-image-link .contest-image-preview:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
@media screen and (min-width: 1281px) {
  .contest-page .block-images .contest-gallery .contest-gallery-wrapper {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media screen and (min-width: 701px) and (max-width: 1280px) {
  .contest-page .block-images .contest-gallery .contest-gallery-wrapper {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (max-width: 700px) {
  .contest-page .block-images .contest-gallery .contest-gallery-wrapper {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 4px;
  }
}
@media screen and (max-width: 500px) {
  .contest-page .block-images .contest-gallery .contest-gallery-wrapper {
    padding: 0 3px;
    gap: 3px;
  }
}
.contest-page .block-content-title.contest {
  margin-bottom: 8px;
}
.contest-page .block-content-title.contest .content-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #2c3e50;
}
@media (max-width: 768px) {
  .contest-page .block-content-title.contest .content-title {
    font-size: 2rem;
    letter-spacing: 0.3px;
  }
}
@media (max-width: 480px) {
  .contest-page .block-content-title.contest .content-title {
    font-size: 1.5rem;
    letter-spacing: 0.2px;
  }
}
.contest-page a {
  color: rgb(0, 66, 97);
}
.contest-page .block-cabinet {
  padding: 0 16px;
  margin-top: 12px;
}
.contest-page .block-buttons {
  display: flex;
  justify-content: center;
  min-height: 35px;
}
.contest-page .block-upload {
  position: relative;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}
.contest-page .block-upload .block-upload-image {
  display: flex;
  justify-content: center;
  padding: 0 10px;
}
.contest-page .block-upload .block-upload-image .dropzone.uploaded {
  padding: 0;
}
.contest-page .block-upload .block-upload-image .dropzone.uploaded .dz-preview {
  opacity: 0;
  position: absolute;
}
.contest-page .block-upload .block-upload-image .dropzone.uploaded .img-wrapper {
  opacity: 1;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  background: #fff;
  padding: 16px;
}
.contest-page .block-upload .block-upload-image .dropzone {
  position: relative;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px;
}
.contest-page .block-upload .block-upload-image .dropzone .img-wrapper {
  opacity: 0;
  transition: opacity 0.5s ease;
  position: relative;
  width: 100%;
  padding: 10px;
}
.contest-page .block-upload .block-upload-image .dropzone .img-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
}
.contest-page .block-upload .block-upload-image .dropzone .dz-preview.uploaded {
  position: absolute;
  opacity: 0;
}
.contest-page .block-upload .block-upload-image .dropzone .dz-preview {
  opacity: 1;
  transition: opacity 0.5s ease;
  background: none;
}
.contest-page .block-upload .block-upload-image .dropzone .dz-preview .dz-image-preview {
  background: none;
}
.contest-page .block-upload .block-upload-image .dropzone .dz-message {
  position: relative;
}
.contest-page .block-upload .block-upload-image .dropzone .dz-message .dz-button {
  position: relative;
  line-height: 1.3em;
  opacity: 0.8;
}
.contest-page .block-upload .block-upload-image .dropzone .dz-message .dz-button .upload-title {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.1);
  font-size: 13px;
  line-height: 13px;
  text-transform: uppercase;
  font-weight: 600;
}
.contest-page .block-upload .block-upload-image .dropzone .dz-message .dz-button .upload-label {
  margin-top: 4px;
  font-size: 13px;
}
.contest-page .block-upload .block-upload-data.uploaded .cover {
  display: none;
}
.contest-page .block-upload .block-upload-progress.uploaded {
  opacity: 1;
  display: block;
}
.contest-page .block-upload .block-upload-progress {
  margin: 10px;
  opacity: 0;
  display: none;
}
.contest-page .block-upload .nomination-block {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 10px 0;
}
.contest-page .block-upload .block-upload-data {
  display: flex;
  justify-content: center;
  padding: 0 10px;
  flex-direction: column;
  gap: 10px;
  position: relative;
  box-sizing: border-box;
  margin-top: 10px;
}
.contest-page .block-upload .block-upload-data .cover {
  background: rgba(255, 255, 255, 0.7);
  width: 100%;
  height: 100%;
  position: absolute;
  box-sizing: border-box;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
}
.contest-page .block-upload .block-upload-data sl-input::part(form-control-help-text),
.contest-page .block-upload .block-upload-data sl-select::part(form-control-help-text) {
  font-size: 12px;
  opacity: 0.6;
}
.contest-page .block-upload .upload-button {
  margin-top: 15px;
}

.cabinet-image-card {
  max-width: 800px;
  margin: 0 auto 32px auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  font-family: "Inter", Arial, sans-serif;
  display: flex;
  flex-direction: column;
}
.cabinet-image-card .cabinet-image-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px 4px 24px;
  font-size: 13px;
  color: #888;
}
.cabinet-image-card .cabinet-image-header .cabinet-status-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cabinet-image-card .cabinet-image-header .cabinet-status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.cabinet-image-card .cabinet-image-header .cabinet-status-indicator.cabinet-status-approved {
  background: hsl(141.7, 76.6%, 73.1%);
}
.cabinet-image-card .cabinet-image-header .cabinet-status-indicator.cabinet-status-pending {
  background: hsl(45.9, 96.7%, 64.5%);
}
.cabinet-image-card .cabinet-image-header .cabinet-status-indicator.cabinet-status-rejected {
  background: hsl(0, 93.5%, 81.8%);
}
.cabinet-image-card .cabinet-image-header .cabinet-status {
  font-weight: 600;
}
.cabinet-image-card .cabinet-image-header .cabinet-date {
  opacity: 0.7;
}
@media (max-width: 360px) {
  .cabinet-image-card .cabinet-image-header .cabinet-status {
    font-size: 12px;
  }
  .cabinet-image-card .cabinet-image-header .cabinet-date {
    font-size: 12px;
  }
}
.cabinet-image-card .cabinet-image-container {
  width: 100%;
  padding: 0 24px;
  box-sizing: border-box;
}
.cabinet-image-card .cabinet-image-container img.cabinet-contest-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 0 auto;
}
.cabinet-image-card .cabinet-image-form {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cabinet-image-card .cabinet-image-form .cabinet-form-group sl-input {
  --sl-input-border-radius: 12px;
  --sl-input-border-color: #e9ecef;
  --sl-input-border-color-focus: var(--sl-color-primary-600);
  --sl-input-background-color: #f8f9fa;
  --sl-input-background-color-focus: #fff;
  --sl-input-padding: 16px;
  --sl-input-font-size: 16px;
}
.cabinet-image-card .cabinet-image-form .cabinet-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.cabinet-image-card .cabinet-image-form .cabinet-meta-row .cabinet-meta-block {
  flex-shrink: 0;
  font-size: 13px;
  color: #666;
}
.cabinet-image-card .cabinet-image-form .cabinet-meta-row .cabinet-meta-block .cabinet-meta-label {
  font-weight: 500;
}
.cabinet-image-card .cabinet-image-form .cabinet-meta-row .cabinet-scene-block {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.cabinet-image-card .cabinet-image-form .cabinet-meta-row .cabinet-scene-block .cabinet-scene-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #f0f0f0;
  border-radius: 6px;
  color: #666;
  font-size: 12px;
  transition: all 0.2s ease;
}
.cabinet-image-card .cabinet-image-form .cabinet-meta-row .cabinet-scene-block .cabinet-scene-icon:hover {
  background: #e0e0e0;
  color: #333;
}
.cabinet-image-card .cabinet-image-form .cabinet-meta-row .cabinet-scene-block .cabinet-scene-icon i {
  font-size: 11px;
}
.cabinet-image-card .cabinet-image-form .cabinet-ai-analysis-block .cabinet-ai-analysis-container {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  padding: 14px;
  margin-top: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  border: 1px solid #f0f0f0;
}
.cabinet-image-card .cabinet-image-form .cabinet-ai-analysis-block .cabinet-ai-analysis-container .cabinet-ai-analysis-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #495057;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}
.cabinet-image-card .cabinet-image-form .cabinet-ai-analysis-block .cabinet-ai-analysis-container .cabinet-ai-analysis-header .cabinet-ai-score {
  margin-left: auto;
  color: #2b7cff;
  font-size: 15px;
  font-weight: 700;
}
.cabinet-image-card .cabinet-image-form .cabinet-ai-analysis-block .cabinet-ai-analysis-container .cabinet-ai-analysis-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cabinet-image-card .cabinet-image-form .cabinet-ai-analysis-block .cabinet-ai-analysis-container .cabinet-analysis-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
}
.cabinet-image-card .cabinet-image-form .cabinet-ai-analysis-block .cabinet-ai-analysis-container .cabinet-analysis-item .cabinet-analysis-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cabinet-image-card .cabinet-image-form .cabinet-ai-analysis-block .cabinet-ai-analysis-container .cabinet-analysis-item .cabinet-analysis-label {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.7;
}
.cabinet-image-card .cabinet-image-form .cabinet-ai-analysis-block .cabinet-ai-analysis-container .cabinet-analysis-item .cabinet-analysis-value {
  font-size: 14px;
  color: #212529;
}
.cabinet-image-card .cabinet-image-form .cabinet-ai-analysis-block .cabinet-ai-analysis-container .cabinet-analysis-item.cabinet-analysis-reason {
  border-left: 4px solid #6c757d;
}
.cabinet-image-card .cabinet-image-form .cabinet-ai-analysis-block .cabinet-ai-analysis-container .cabinet-analysis-item.cabinet-analysis-plus {
  border-left: 4px solid #28a745;
}
.cabinet-image-card .cabinet-image-form .cabinet-ai-analysis-block .cabinet-ai-analysis-container .cabinet-analysis-item.cabinet-analysis-minus {
  border-left: 4px solid #dc3545;
}
.cabinet-image-card .cabinet-image-form .cabinet-submit-block {
  text-align: center;
}
.cabinet-image-card .cabinet-image-form .cabinet-submit-block .cabinet-submit-button {
  --sl-button-font-size: 16px;
  --sl-button-padding: 14px 32px;
  --sl-button-border-radius: 12px;
  font-weight: 600;
  min-width: 180px;
  transition: all 0.2s;
}
.cabinet-image-card .cabinet-image-form .cabinet-submit-block .cabinet-submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.13);
}

@media (max-width: 600px) {
  .cabinet-image-card {
    max-width: 100vw;
    border-radius: 0;
  }
  .cabinet-image-card .cabinet-image-form {
    padding: 8px;
  }
  .cabinet-image-card .cabinet-image-form .cabinet-meta-row {
    gap: 8px;
  }
  .cabinet-image-card .cabinet-image-form .cabinet-meta-row .cabinet-scene-block {
    gap: 4px;
  }
  .cabinet-image-card .cabinet-image-form .cabinet-meta-row .cabinet-scene-block .cabinet-scene-icon {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
  .cabinet-image-card .cabinet-image-form .cabinet-meta-row .cabinet-scene-block .cabinet-scene-icon i {
    font-size: 9px;
  }
  .cabinet-image-card .cabinet-image-header {
    padding: 10px 8px 4px 8px;
  }
  .cabinet-image-card .cabinet-image-container {
    padding: 0 8px;
  }
}
.contest-gallery .page-navigator {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 16px 0;
  padding: 0;
  justify-content: flex-start;
}
@media screen and (min-width: 1281px) {
  .contest-gallery .page-navigator {
    padding-left: 8px;
  }
}
@media screen and (min-width: 701px) and (max-width: 1280px) {
  .contest-gallery .page-navigator {
    padding-left: 8px;
  }
}
@media screen and (max-width: 700px) {
  .contest-gallery .page-navigator {
    padding-left: 4px;
  }
}
@media screen and (max-width: 500px) {
  .contest-gallery .page-navigator {
    padding-left: 3px;
  }
}
@media (max-width: 480px) {
  .contest-gallery .page-navigator {
    gap: 3px;
    flex-wrap: wrap;
  }
}
.contest-gallery .page-navigator .contest-pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 4px;
  font-size: 14px;
  font-weight: 500;
  color: #495057;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  transition: all 0.2s ease;
  position: relative;
}
.contest-gallery .page-navigator .contest-pagination-btn:hover {
  transform: translateY(-1px);
  border-color: #007bff;
  background: #f8f9ff;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
  color: #007bff;
}
.contest-gallery .page-navigator .contest-pagination-btn.select {
  background: #007bff;
  border-color: #007bff;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}
.contest-gallery .page-navigator .contest-pagination-btn.select:hover {
  background: #0056b3;
  transform: translateY(0);
}
.contest-gallery .page-navigator .contest-pagination-btn.page_last {
  border-color: #adb5bd;
  color: #6c757d;
}
.contest-gallery .page-navigator .contest-pagination-btn.page_last:hover {
  border-color: #6c757d;
  color: #495057;
  background: #f8f9fa;
}
.contest-gallery .page-navigator .contest-pagination-btn:active {
  transform: translateY(0);
  transition: all 0.1s ease;
}
.contest-gallery .page-navigator .space {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  font-size: 16px;
  font-weight: 500;
  color: #6c757d;
  background: transparent;
  border: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.contest-gallery .page-navigator .space:hover {
  background: #f8f9fa;
  color: #495057;
}
@media (max-width: 768px) {
  .contest-gallery .page-navigator .contest-pagination-btn,
  .contest-gallery .page-navigator .space {
    min-width: 28px;
    height: 28px;
    font-size: 13px;
    border-radius: 5px;
  }
}
@media (max-width: 480px) {
  .contest-gallery .page-navigator .contest-pagination-btn,
  .contest-gallery .page-navigator .space {
    min-width: 26px;
    height: 26px;
    font-size: 12px;
    border-radius: 4px;
  }
}
.contest-gallery .page-navigator.top {
  margin-bottom: 10px;
}
.contest-gallery .page-navigator.bottom {
  margin-top: 10px;
}/*# sourceMappingURL=dut_contest.css.map */