.connection-logo {
  width: 19px;
  height: 19px;
  display: inline-block;
  flex-shrink: 0;
  background: currentColor;
  mask: var(--connection-mask) center/contain no-repeat;
  -webkit-mask: var(--connection-mask) center/contain no-repeat;
}
.connection-spotify {
  --connection-mask: url('/assets/social/spotify.svg');
}
.connection-soundcloud {
  --connection-mask: url('/assets/social/soundcloud.svg');
}
.connection-youtube {
  --connection-mask: url('/assets/social/youtube.svg');
}
.connection-facebook {
  --connection-mask: url('/assets/social/facebook.svg');
}
.connection-instagram {
  --connection-mask: url('/assets/social/instagram.svg');
}
.connection-tiktok {
  --connection-mask: url('/assets/social/tiktok.svg');
}
.profile-connections {
  display: grid;
  gap: 2px;
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}
.profile-connections > a {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 39px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  border-radius: 5px;
  padding: 7px 3px;
  max-width: 100%;
}
.profile-connections > a > span:not(.connection-logo) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-connections .connection-logo {
  color: var(--muted);
}
.connection-arrow {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--muted);
  margin-left: auto;
  opacity: 0;
  transition: opacity 0.15s;
}
.profile-connections > a:hover,
.profile-connections > a:focus-visible {
  color: var(--lime);
  background: var(--hover);
}
.profile-connections > a:hover .connection-logo,
.profile-connections > a:focus-visible .connection-logo {
  color: var(--lime);
}
.profile-connections > a:hover .connection-arrow,
.profile-connections > a:focus-visible .connection-arrow {
  opacity: 1;
}
.listener-hero .profile-connections {
  max-width: 360px;
}
.profile-dialog.profile-editor-with-connections {
  width: 760px;
  max-width: calc(100vw - 60px);
}
.profile-connect-editor {
  margin: 30px 0 20px;
  border-top: 1px solid var(--border);
  padding-top: 25px;
}
.profile-connect-editor h3 {
  font-size: 19px;
  margin-bottom: 9px;
}
.profile-connect-editor > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}
.profile-connect-row,
.profile-connect-column-labels {
  display: grid;
  grid-template-columns: 118px minmax(0, 0.7fr) minmax(0, 1.4fr);
  gap: 12px;
  align-items: center;
}
.profile-connect-column-labels {
  font-size: 11px;
  color: var(--muted);
  margin: 22px 0 10px;
}
.profile-connect-row {
  margin-bottom: 12px;
}
.profile-connect-platform {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  white-space: nowrap;
  color: var(--muted);
}
.profile-connect-platform .connection-logo {
  width: 18px;
  height: 18px;
}
.profile-dialog .profile-connect-row label {
  margin: 0;
}
.profile-dialog .profile-connect-row input {
  margin: 0;
  font-size: 13px;
  min-width: 0;
  padding: 11px 10px;
  width: 100%;
}
.connection-form-feedback:not(:empty) {
  color: var(--text);
  font-size: 13px;
  padding: 12px 0;
  line-height: 1.8;
}
.review-reaction-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 21px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}
.review-vote-buttons {
  display: flex;
  align-items: center;
  gap: 9px;
}
.review-vote,
.review-report-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 37px;
  height: 35px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 7px;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  transition:
    color 0.15s,
    background 0.15s,
    border-color 0.15s;
  padding: 7px 10px;
}
.review-vote svg,
.review-report-icon svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.review-vote:hover,
.review-report-icon:hover {
  background: var(--hover);
  color: var(--text);
  border-color: var(--muted);
}
.review-vote.selected.like {
  color: var(--lime);
  border-color: var(--lime);
  background: var(--hover);
}
.review-vote.selected.dislike {
  color: #cf91b1;
  border-color: #cf91b1;
  background: #cf91b112;
}
.review-vote:disabled {
  cursor: default;
  opacity: 0.65;
}
.review-report-icon {
  border-color: transparent;
  padding: 7px;
}
.review-report-icon:hover {
  color: var(--text);
  border-color: var(--border);
}
.review-vote:focus-visible,
.review-report-icon:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
.review-visibility-note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 13px;
}
.review-visibility-note .text-link {
  font-size: 12px;
}
.review-hidden-note {
  padding: 12px;
  background: var(--hover);
  border-left: 2px solid var(--muted);
  border-radius: 4px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.review-author > span:not(.listener-avatar) {
  min-width: 0;
}
.review-author strong {
  display: block;
}
.review-author:hover strong {
  color: var(--lime);
}
.community-review-card {
  margin-bottom: 18px;
}
.community-review-card .review-top {
  justify-content: space-between;
}
.community-review-card h3 {
  margin-top: 20px;
}
.community-review-card .review-reaction-bar {
  margin-top: 25px;
}
.community-reviews-section {
  margin-top: 32px;
}
.review-loading {
  padding: 20px;
}
.review-report-context {
  display: grid;
  gap: 8px;
  margin: 24px 0;
}
.review-report-context strong {
  font-size: 16px;
}
.review-report-context span {
  font-size: 13px;
  color: var(--muted);
}
.review-report-feedback:not(:empty) {
  font-size: 13px;
  color: var(--text);
  margin: 15px 0;
  line-height: 1.8;
}
.review-report-page {
  max-width: 1200px;
  padding-top: 35px;
}
.review-report-page h1 {
  font-size: 32px;
  margin-top: 12px;
}
.moderation-tabs {
  display: flex;
  gap: 27px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 35px;
}
.moderation-tabs a {
  font-size: 15px;
  padding: 0 0 16px;
  color: var(--muted);
  border-bottom: 3px solid transparent;
}
.moderation-tabs a.active {
  color: var(--lime);
  border-color: var(--lime);
}
.review-moderation-report {
  padding: 26px;
  border: 1px solid var(--border);
  margin-bottom: 23px;
}
.review-report-status {
  font-size: 12px;
  color: var(--muted);
}
.review-report-snapshot {
  padding: 20px;
  background: var(--bg);
  border-radius: 7px;
  margin: 20px 0;
}
.review-report-snapshot > strong {
  font-size: 13px;
  color: var(--muted);
}
.review-report-snapshot h3 {
  font-size: 18px;
  margin: 14px 0;
}
.review-report-snapshot p,
.review-report-reason p,
.review-resolution {
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.review-report-reason > strong {
  font-size: 15px;
}
.review-report-reason p {
  color: var(--muted);
  margin: 10px 0;
}
.review-report-reason small {
  font-size: 12px;
  color: var(--muted);
}
.review-moderation-form {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 23px;
}
.review-moderation-form label {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
}
.review-moderation-form textarea {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  padding: 13px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font: inherit;
  font-size: 14px;
}
.review-moderation-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.review-moderation-actions .btn {
  font-size: 13px;
}
.review-resolution {
  margin-top: 20px;
  padding: 16px;
  background: var(--hover);
  border-radius: 6px;
}
html[data-theme='light'] .review-vote.selected.dislike {
  color: #a14e78;
  border-color: #a14e78;
  background: #a14e780a;
}

/* Review cá nhân: thao tác nằm trong menu ... như cảm nhận ở hồ sơ. */
.own-review-card {
  position: relative;
  overflow: visible;
}
.own-review-card > .review-top {
  padding-right: 42px;
}
.own-review-card > .review-options-menu {
  top: 16px;
  right: 16px;
}
.own-review-card .review-options-menu .activity-note-options button {
  color: var(--text);
}
.own-review-card .review-options-menu .activity-note-options .review-delete {
  color: var(--pink);
}
.review-form .form-footer > .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
  line-height: 1;
}
