.rating {
  display: flex;
  align-items: center;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.rating i {
  margin-right: 5px;
  color: #ffba47;
}

.rating-score {
  margin-right: 15px;
  color: #555;
}

.rating .open-rate-btn {
  padding: 0px 10px;
  font-size: 0.8em;
  border-radius: 5rem;
  border: none;
  background-color: #ffba47;
  color: #424242;
}

.rate-dialog {
  width: min(320px, calc(100vw - 32px));
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.rate-box {
  background: #3c4a6a;
  box-shadow: 0 6px 18px #d5bb4640;
  padding: 16px;
  border-radius: 1rem;
  outline: 2px solid #f9d740;
  border: #fefba3 3px solid;
}

.light-star-deco {
  position: absolute;
  top: -54px;
  left: 16%;
  transform: translateX(-50%);
  width: 171px;
  height: auto;
}

.rate-title {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 12px 8px;
  margin-top: 12px;
  color: #fff6b6;
}

.rate-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  margin-bottom: 12px;
  justify-content: center;
}

.score-pill {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-image: url(/static_pc/img/score-star.png);
  background-repeat: no-repeat;
  background-size: 90%;
  background-position: 3px -2px;
  color: #2c2c2c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
  flex: 0 0 auto;
}

.rate-stars {
  cursor: pointer;
}

.rate-star {
  color: #fee201;
  border: none;
  background: none;
  font-size: 30px;
  padding: 0;
}

.rate-star.active {
  color: #fee201;
  text-shadow:
    0px 0px 4px #ffad04,
    0px 0px 12px #f4bd27;
}

.rate-actions {
  display: flex;
  justify-content: center;
  padding: 6px 6px 0;
  gap: 1rem;
}

.rate-btn {
  background: #fee201;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  padding: 6px 8px;
  border-radius: 5px;
}
