.news-actions-row {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
}

.news-rating-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto;
  max-width: 520px;
  padding: 0;
  border-radius: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.news-rating-panel .rate-left,
.news-rating-panel .rate-right {
  min-width: 0;
}

.news-rating-panel .rate-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 68px;
}

.news-rating-panel .rate-score {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}

.news-rating-panel .rate-value {
  display: inline-block;
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #2add74;
  text-shadow: none;
}

.news-rating-panel .rate-max {
  display: none;
}

.news-rating-panel .rate-votes {
  color: #c9d2de;
  font-size: 12px;
  line-height: 1.3;
}

.news-rating-panel .rate-votes span {
  color: #eef4ff;
  font-weight: 700;
}

.news-rating-panel .rate-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 8px;
  border-left: 0;
}

.news-rating-panel .rate-label {
  display: block;
  color: #dbe4ee;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
}

.news-rating-panel .rate-label::before {
  display: none;
}

.news-rating-control {
  width: auto;
}

.news-rating-control-source {
  display: none;
}

.news-rating-control-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
    gap: 4px;
  width: auto;
}

.news-rating-control-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 38px;
  height: 38px;
  padding: 0;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  background: transparent;
  border: 0;
  border-radius: 50%;
  overflow: visible;
  box-shadow: none;
  transition: background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.news-rating-control-buttons a:hover,
.news-rating-control-buttons a:focus-visible {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px currentColor, 0 0 0 4px rgba(255, 255, 255, 0.03);
  transform: translateY(-1px);
}

.news-rating-control-buttons a.is-vote-celebrating {
  background: rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 0 0 1px currentColor, 0 0 0 5px rgba(255, 255, 255, 0.035);
  transform: translateY(-1px) scale(1.03);
}

.news-rating-control-buttons a.is-user-rated {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 2px currentColor, 0 0 0 5px rgba(255, 255, 255, 0.035), 0 0 16px currentColor;
  transform: translateY(-1px);
}

.news-rating-control-buttons .rating-vote-burst {
  position: absolute;
  inset: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 0;
}

.news-rating-control-buttons .rating-vote-burst__dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  transform: translate(0, 0) scale(0.35);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.18);
  animation: rating-vote-burst 0.58s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  animation-delay: var(--burst-delay, 0ms);
}

@keyframes rating-vote-burst {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.35);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(var(--burst-x, 0px), var(--burst-y, 0px)) scale(1);
  }
}

.news-rating-control-buttons a:nth-child(1) { color: #ff4d57; }
.news-rating-control-buttons a:nth-child(2) { color: #ff5f4e; }
.news-rating-control-buttons a:nth-child(3) { color: #ff7742; }
.news-rating-control-buttons a:nth-child(4) { color: #ff9440; }
.news-rating-control-buttons a:nth-child(5) { color: #ffb23d; }
.news-rating-control-buttons a:nth-child(6) { color: #ffc93b; }
.news-rating-control-buttons a:nth-child(7) { color: #d9da44; }
.news-rating-control-buttons a:nth-child(8) { color: #96e35a; }
.news-rating-control-buttons a:nth-child(9) { color: #48df78; }
.news-rating-control-buttons a:nth-child(10) { color: #22d768; }

.shareme-wrapper-u {
  width: auto;
  margin-left: auto;
  flex: 0 0 auto;
}

.shareme-wrapper-u ul {
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .news-rating-panel {
    gap: 10px;
    padding: 0;
  }

  .news-rating-panel .rate-left {
    gap: 2px;
    min-width: 64px;
  }
}

@media (max-width: 640px) {
  .news-actions-row {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
  }

  .news-rating-panel {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    width: auto;
    max-width: none;
    padding: 0;
    border-radius: 0;
  }

  .news-rating-panel .rate-left {
    width: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2px;
    min-width: 64px;
    text-align: left;
  }

  .news-rating-panel .rate-label {
    font-size: 12px;
    text-align: left;
  }

  .news-rating-panel .rate-votes {
    font-size: 12px;
    text-align: left;
  }

  .news-rating-panel .rate-right {
    width: auto;
    min-width: 0;
    padding-left: 6px;
    gap: 6px;
    align-items: flex-start;
  }

  .news-rating-control {
    width: auto;
  }

  .news-rating-control-buttons {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 3px;
    width: auto;
    max-width: none;
    margin: 0;
    overflow: visible;
    padding-bottom: 0;
  }

  .news-rating-control-buttons a {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    font-size: 15px;
  }

  .shareme-wrapper-u {
    width: 100%;
    order: 3;
    margin-left: 0;
    display: flex;
    justify-content: flex-start;
    margin-top: 14px;
  }

  .shareme-wrapper-u ul {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .news-rating-panel {
    gap: 8px;
  }

  .news-rating-panel .rate-left {
    min-width: 54px;
  }

  .news-rating-panel .rate-value {
    font-size: 24px;
  }

  .news-rating-panel .rate-votes {
    font-size: 11px;
  }

  .news-rating-panel .rate-right {
    padding-left: 4px;
    gap: 4px;
  }

  .news-rating-panel .rate-label {
    font-size: 11px;
  }

  .news-rating-control-buttons {
    gap: 2px;
  }

  .news-rating-control-buttons a {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    font-size: 13px;
  }
}
