/* Canonical service-specific review panel in the new-order flow. */
#snsServiceReviews[hidden] { display: none !important; }
.sns-service-reviews {
  --sns-review-star: #ffb020;
  --sns-review-star-soft: #fff8e6;
  --sns-review-star-text: var(--sns-review-star);
  overflow: hidden;
  margin-top: 10px;
  border: 1px solid var(--sns-theme-review-line-outer);
  border-radius: 14px;
  background: var(--sns-theme-surface);
}
.sns-service-reviews-toggle {
  display: flex;
  width: 100%;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border: 0;
  background: var(--sns-theme-surface);
  color: var(--sns-theme-text-auth);
  text-align: left;
  cursor: pointer;
  outline: 0;
}
.sns-service-reviews-toggle:focus-visible { box-shadow: inset 0 0 0 2px var(--sns-theme-brand); }
.sns-service-reviews-title-wrap { display: flex; min-width: 0; align-items: center; }
.sns-service-reviews-title-copy { display: flex; min-width: 0; align-items: center; gap: 8px; white-space: nowrap; }
.sns-service-reviews-title-wrap strong { display: block; overflow: hidden; color: var(--sns-theme-review-title); font-size: 14px; font-weight: 900; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.sns-service-reviews-reward-caption::before { content: ""; width: 1px; height: 12px; margin-right: 8px; background: var(--sns-theme-review-divider); }
.sns-service-reviews-reward-caption { display: inline-flex; align-items: center; color: var(--sns-theme-review-caption); font-size: 10px; font-weight: 750; line-height: 1.2; white-space: nowrap; }
.sns-service-reviews-reward-summary { display: flex; min-width: 0; align-items: center; color: var(--sns-theme-review-copy); font-size: 10px; font-weight: 850; line-height: 1.2; white-space: nowrap; animation: none; transform: none; transition: none; }
.sns-service-reviews-reward-summary b { display: inline-flex; align-items: center; color: var(--sns-theme-review-reward-base); font-weight: 900; transform: none; }
.sns-service-reviews-reward-summary b + b::before { content: "·"; margin: 0 6px; color: var(--sns-theme-review-separator); font-weight: 700; }
.sns-service-reviews-reward-summary b:nth-child(2) { color: var(--sns-theme-review-reward-long); }
.sns-service-reviews-reward-summary b:nth-child(3) { color: var(--sns-theme-review-reward-best); }
.sns-service-reviews-score { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; color: var(--sns-theme-review-score-muted); font-size: 10px; }
.sns-service-reviews-score > strong { display: inline-flex; align-items: center; justify-content: center; color: var(--sns-review-star-text); font-size: 14px; font-weight: 900; line-height: 1; text-align: center; }
.sns-service-reviews-score b { color: var(--sns-theme-review-copy); font-weight: 800; }
.sns-service-reviews-score > i { margin-left: 2px; color: var(--sns-theme-review-chevron); font-size: 10px; }
.sns-service-reviews.is-open .sns-service-reviews-score > i { transform: rotate(180deg); }
.sns-service-reviews-body { padding: 0 15px 15px; border-top: 1px solid var(--sns-theme-review-line-section); }
.sns-service-reviews-policy { display: flex; min-height: 35px; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 11px 2px 7px; color: var(--sns-theme-review-policy); font-size: 10px; line-height: 1.45; }
.sns-service-reviews-policy-copy { display: inline-flex; min-width: 0; align-items: center; line-height: 1.45; white-space: nowrap; }
.sns-service-reviews-policy > a { display: inline-flex; min-height: 24px; flex: 0 0 auto; align-items: center; justify-content: center; color: var(--sns-theme-review-link); font-size: 10px; font-weight: 900; line-height: 1; text-decoration: none; white-space: nowrap; transform: none; }
.sns-service-reviews-toolbar { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 11px; padding: 3px 0 7px; border-bottom: 1px solid var(--sns-theme-review-line-section); }
.sns-service-reviews-overview { display: inline-flex; min-height: 30px; flex: 0 0 auto; align-items: center; gap: 6px; color: var(--sns-theme-muted-soft); font-size: 10px; line-height: 1; }
.sns-service-reviews-overview strong { display: inline-flex; min-height: 18px; align-items: center; color: var(--sns-theme-text-auth); font-size: 13px; font-weight: 900; line-height: 1; }
.sns-service-reviews-overview b { color: var(--sns-theme-review-meta-strong); font-weight: 850; }
.sns-service-reviews-average-stars { --sns-review-score: 0%; display: inline-flex; min-height: 18px; align-items: center; color: transparent; font-size: 13px; font-weight: 900; line-height: 1; letter-spacing: 1px; background: linear-gradient(90deg, var(--sns-review-star) 0 var(--sns-review-score), var(--sns-theme-review-star-empty) var(--sns-review-score) 100%); -webkit-background-clip: text; background-clip: text; }
.sns-service-reviews-filters { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin: 0; }
.sns-service-reviews-filters > button { display: inline-flex; min-height: 30px; align-items: center; justify-content: center; gap: 3px; padding: 0 11px; border: 0; border-radius: 999px; background: var(--sns-theme-review-filter-surface); color: var(--sns-theme-review-filter-text); font-size: 10px; font-weight: 800; line-height: 1; white-space: nowrap; cursor: pointer; }
.sns-service-reviews-filters > button.is-active { background: var(--sns-theme-review-filter-active); color: var(--sns-theme-review-link); }
.sns-service-reviews-filters > button b { color: inherit; font-size: inherit; font-weight: 900; }
.sns-service-reviews-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; }
.sns-service-review-card { min-width: 0; padding: 13px; border: 1px solid var(--sns-theme-review-card-line); border-radius: 12px; background: var(--sns-theme-review-card-surface); }
.sns-service-review-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sns-service-review-verified { display: inline-flex; align-items: center; gap: 7px; }
.sns-service-review-best { padding: 3px 6px; border-radius: 999px; background: var(--sns-review-star-soft); color: var(--sns-review-star-text); font-size: 8px; font-weight: 900; letter-spacing: .04em; }
.sns-service-review-approved { padding: 3px 6px; border-radius: 999px; background: var(--sns-theme-review-approved-surface); color: var(--sns-theme-review-approved-text); font-size: 8px; font-weight: 900; letter-spacing: .02em; }
.sns-service-review-pending { padding: 3px 6px; border-radius: 999px; background: var(--sns-theme-review-pending-surface); color: var(--sns-theme-review-pending-text); font-size: 8px; font-weight: 900; letter-spacing: .02em; }
.sns-service-review-rating { color: var(--sns-review-star); font-size: 11px; letter-spacing: .7px; }
.sns-service-review-rating-text { color: var(--sns-theme-muted-soft); font-size: 9px; font-weight: 750; letter-spacing: 0; white-space: nowrap; }
.sns-service-review-date { color: var(--sns-theme-review-date); font-size: 9px; }
.sns-service-review-customer { color: var(--sns-theme-review-meta-strong); font-size: 10px; font-weight: 800; white-space: nowrap; }
.sns-service-review-customer-meta { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.sns-service-review-repeat { padding: 3px 6px; border-radius: 999px; background: var(--sns-theme-review-repeat-surface); color: var(--sns-theme-review-reward-base); font-size: 8px; font-weight: 900; white-space: nowrap; }
.sns-service-review-card > p { margin: 9px 0 0; color: var(--sns-theme-review-body-text); font-size: 11px; line-height: 1.65; word-break: break-word; }
.sns-service-review-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.sns-service-review-tags span { padding: 4px 7px; border-radius: 999px; background: var(--sns-theme-review-tag-surface); color: var(--sns-theme-review-tag-text); font-size: 9px; font-weight: 750; }
.sns-service-review-service { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 14px; margin-top: 11px; padding: 9px 12px; border-radius: 10px; background: var(--sns-theme-review-service-surface); }
.sns-service-review-service > div { display: flex; min-width: 0; min-height: 24px; align-items: center; gap: 8px; }
.sns-service-review-service > div > span { display: inline-flex; min-height: 22px; flex: 0 0 auto; align-items: center; color: var(--sns-theme-brand); font-size: 9px; font-weight: 900; line-height: 1; }
.sns-service-review-service strong { display: inline-flex; min-height: 22px; align-items: center; overflow: hidden; color: var(--sns-theme-review-service-text); font-size: 11px; font-weight: 850; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.sns-service-review-service small { display: inline-flex; min-height: 22px; flex: 0 0 auto; align-items: center; color: var(--sns-theme-review-service-meta); font-size: 9px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.sns-service-review-reply { display: grid; gap: 6px; margin-top: 12px; padding: 11px 0 0; border-top: 1px solid var(--sns-theme-review-reply-line); background: transparent; }
.sns-service-review-reply-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sns-service-review-reply strong { color: var(--sns-theme-review-link); font-size: 10px; font-weight: 900; }
.sns-service-review-reply time { color: var(--sns-theme-review-date); font-size: 9px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sns-service-review-reply > span { color: var(--sns-theme-review-copy); font-size: 10px; line-height: 1.65; word-break: break-word; }
.sns-service-reviews-empty,
.sns-service-reviews-loading { grid-column: 1 / -1; padding: 24px 14px; border: 1px dashed var(--sns-theme-review-empty-line); border-radius: 12px; color: var(--sns-theme-review-empty-text); font-size: 11px; line-height: 1.6; text-align: center; }
.sns-service-reviews-empty strong { display: block; margin-bottom: 3px; color: var(--sns-theme-review-empty-title); font-size: 12px; }
.sns-service-reviews-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; }
.sns-service-reviews-pagination[hidden] { display: none !important; }
.sns-service-reviews-pagination > button,
.sns-service-reviews-pagination [data-service-review-pages] > button { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--sns-theme-review-pagination-line); border-radius: 9px; background: var(--sns-theme-surface); color: var(--sns-theme-review-pagination-text); font-size: 10px; font-weight: 850; line-height: 1; cursor: pointer; }
.sns-service-reviews-pagination > button i { display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.sns-service-reviews-pagination [data-service-review-pages] { display: inline-flex; align-items: center; gap: 5px; }
.sns-service-reviews-pagination [data-service-review-pages] > button.is-active { border-color: var(--sns-theme-brand); background: var(--sns-theme-brand); color: var(--sns-theme-surface); }
.sns-service-reviews-pagination > button:disabled { opacity: .35; cursor: default; }
.sns-service-reviews-page-ellipsis { display: inline-flex; width: 18px; height: 30px; align-items: center; justify-content: center; color: var(--sns-theme-review-pagination-ellipsis); font-size: 11px; font-weight: 800; }

@media (max-width: 767px) {
  .sns-service-reviews-toggle { min-height: 58px; gap: 8px; padding: 10px 12px; }
  .sns-service-reviews-title-copy { gap: 5px; }
  .sns-service-reviews-title-wrap strong { max-width: 70px; font-size: 11px; }
  .sns-service-reviews-title-prefix { display: none; }
  .sns-service-reviews-reward-caption { font-size: 8.5px; }
  .sns-service-reviews-reward-caption::before { height: 10px; margin-right: 5px; }
  .sns-service-reviews-reward-summary { font-size: 8.5px; }
  .sns-service-reviews-reward-summary b + b::before { margin: 0 4px; }
  .sns-service-reviews-reward-detail { display: none; }
  .sns-service-reviews-score { gap: 6px; }
  .sns-service-reviews-score > strong { font-size: 14px; }
  .sns-service-reviews-body { padding: 0 12px 12px; }
  .sns-service-reviews-policy { align-items: center; flex-direction: row; gap: 6px; }
  .sns-service-reviews-policy-copy { flex: 1 1 auto; overflow: hidden; }
  .sns-service-reviews-policy-copy > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sns-service-reviews-policy > a { align-self: auto; }
  .sns-service-reviews-toolbar { align-items: stretch; flex-direction: column; gap: 5px; padding-bottom: 9px; }
  .sns-service-reviews-filters { justify-content: flex-start; overflow-x: auto; padding-bottom: 1px; scrollbar-width: none; }
  .sns-service-reviews-filters::-webkit-scrollbar { display: none; }
  .sns-service-reviews-list { grid-template-columns: minmax(0, 1fr); }
  .sns-service-review-head { align-items: flex-start; }
  .sns-service-review-verified { flex-wrap: wrap; gap: 5px; }
  .sns-service-review-customer-meta { align-items: flex-end; flex-direction: column; gap: 2px; }
  .sns-service-review-service { align-items: stretch; flex-direction: column; gap: 2px; }
  .sns-service-review-service small { white-space: normal; }
}

@media (max-width: 420px) {
  .sns-service-reviews-caption-subject { display: none; }
  .sns-service-reviews-reward-caption { display: none; }
}
