.nav-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: transparent;
  color: inherit;
  transition: background var(--transition), border var(--transition), transform var(--transition);
}

.nav-chip i {
  font-size: 1rem;
}

.nav-chip:hover {
  background: var(--accent-soft);
  border-color: var(--border-strong);
}

.nav-chip.is-active {
  background: rgba(1, 183, 227, 0.18);
  border-color: rgba(1, 183, 227, 0.55);
  box-shadow: 0 12px 30px -18px rgba(1, 183, 227, 0.9);
}

.primary-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--accent), rgba(1, 183, 227, 0.7));
  color: var(--accent-text);
  font-weight: 600;
  box-shadow: 0 16px 38px -18px rgba(1, 183, 227, 0.95);
  transition: transform var(--transition), box-shadow var(--transition);
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px -16px rgba(1, 183, 227, 1);
}

.ghost-btn {
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  transition: background var(--transition), border var(--transition);
}

.ghost-btn:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.08);
}

.avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(1, 183, 227, 0.3);
  color: var(--accent);
  font-weight: 600;
}

.avatar-circle--sm {
  width: 36px;
  height: 36px;
  font-size: 0.9rem;
}

.stat-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.badge--accent {
  background: rgba(1, 183, 227, 0.2);
  color: var(--accent);
}

.badge--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

.stat-row--muted {
  opacity: 0.85;
}

.empty-state {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  text-align: center;
  color: var(--text-muted);
}

.empty-state h4 {
  margin: 0 0 0.5rem;
  color: var(--text);
}

.empty-state.is-hidden {
  display: none;
}

.creator-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(12px);
  transition: transform var(--transition), border var(--transition), box-shadow var(--transition);
}

.creator-card:hover {
  transform: translateY(-4px);
  border-color: rgba(1, 183, 227, 0.4);
  box-shadow: 0 28px 60px -48px rgba(1, 183, 227, 0.7);
}

.creator-card__header {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.creator-card__cover {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

.creator-card__name {
  font-size: 1.1rem;
  font-weight: 600;
}

.creator-card__platforms {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin-top: 0.3rem;
}

.platform-icon-small {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.platform-icon-small:hover {
  opacity: 1;
}

.detail-hero {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2rem;
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--panel-strong);
}

.detail-hero__cover {
  width: 220px;
  height: 220px;
  border-radius: 24px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.05);
}

.detail-hero__meta h2 {
  margin: 0;
  font-size: 2.1rem;
}

.detail-hero__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 380px));
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .detail-hero__metrics {
    grid-template-columns: 1fr;
  }
}

.detail-hero__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent);
  font-size: 1.2rem;
  transition: all var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(1, 183, 227, 0.5);
}

.metric-card {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.metric-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.metric-card__heading {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 70%;
}

.metric-card__label {
  font-size: 1rem;
  color: var(--text-muted);
}

.metric-card__description {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.metric-card__value {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  border: 1px solid transparent;
  /* Removed opacity: 0.4 to show full color all the time */
}

.metric-card__value.metric-value--red {
  background: rgba(255, 104, 116, 0.9);
  border-color: rgba(255, 104, 116, 0.9);
  color: #fff;
}

.metric-card__value.metric-value--yellow {
  background: rgba(255, 189, 63, 0.9);
  border-color: rgba(255, 189, 63, 0.9);
  color: #1c1c1c;
}

.metric-card__value.metric-value--green {
  background: rgba(0, 206, 122, 0.9);
  border-color: rgba(0, 206, 122, 0.9);
  color: #022a1a;
}

.metric-card__votes,
.metric-card__change-vote {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: opacity 0.15s ease;
}

.metric-card__change-vote.is-hidden {
  display: none;
}

.data-point-average {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.2rem;
}

.data-point-input-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.data-point-input {
  width: 100px;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.data-point-input:focus {
  border-color: var(--accent);
}

.data-point-submit {
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  transition: all 0.15s ease;
  cursor: pointer;
  font-size: 0.85rem;
}

.data-point-submit:hover {
  background: var(--accent);
  color: var(--accent-text);
}

.metric-card__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Create a larger padding around the vote visualization for easier hovering */
.metric-card {
  padding-bottom: 1.5rem; /* Add extra padding at the bottom */
}

.rating-bar-container {
  --rating-bar-thickness: 10px;
  --rating-bar-hit-padding: 5px;
  display: flex;
  width: 100%;
  position: relative;
  justify-content: space-between;
  align-items: center;
  height: var(--rating-bar-thickness);
}

.rating-bar {
  position: relative;
  width: 8.6%; /* Approximately (100% - 10 gaps of 0.4%) / 11 */
  height: var(--rating-bar-thickness);
  padding: var(--rating-bar-hit-padding) 0;
  border-radius: 0;
  cursor: pointer;
  border: 1px solid transparent;
  opacity: 0.4;
  margin: 0 0.2%; /* Small margin for spacing */
  background: transparent;
  display: block;
  box-sizing: content-box;
}

.rating-bar::after {
  content: '';
  position: absolute;
  top: var(--rating-bar-hit-padding);
  bottom: var(--rating-bar-hit-padding);
  left: 0;
  right: 0;
  border-radius: inherit;
  background: var(--rating-bar-color, rgba(255, 255, 255, 0.1));
  pointer-events: none;
}

.rating-bar:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.rating-bar:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.rating-bar[data-score="0"],
.rating-bar[data-score="1"],
.rating-bar[data-score="2"],
.rating-bar[data-score="3"] {
  --rating-bar-color: rgba(255, 104, 116, 0.8);
}

.rating-bar[data-score="4"],
.rating-bar[data-score="5"],
.rating-bar[data-score="6"] {
  --rating-bar-color: rgba(255, 189, 63, 0.8);
}

.rating-bar[data-score="7"],
.rating-bar[data-score="8"],
.rating-bar[data-score="9"],
.rating-bar[data-score="10"] {
  --rating-bar-color: rgba(0, 206, 122, 0.8);
}

.rating-bar.rating-bar--red {
  --rating-bar-color: rgba(255, 104, 116, 0.8) !important;
}

.rating-bar.rating-bar--yellow {
  --rating-bar-color: rgba(255, 189, 63, 0.8) !important;
}

.rating-bar.rating-bar--green {
  --rating-bar-color: rgba(0, 206, 122, 0.8) !important;
}

.rating-bar.rating-bar--gray {
  --rating-bar-color: rgba(255, 255, 255, 0.1) !important;
}

.rating-bar.is-hovered {
  opacity: 1;
}

.rating-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0 2px;
}

.score-picker {
  display: flex;
  gap: 0.35rem;
}

.score-picker button {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  font-size: 0.75rem;
}

.score-picker button.is-active {
  background: var(--accent);
  color: var(--accent-text);
  border-color: rgba(1, 183, 227, 0.65);
}

/* Vote distribution graph styles */
.vote-distribution-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.25rem;
}

.vote-distribution {
  display: flex;
  height: 10px; /* Reduced height from 12px to 10px */
  border-radius: 5px;
  overflow: hidden;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  gap: 3px; /* Add gap between the bucket bars */
}

.vote-distribution__bar {
  height: 100%;
  display: inline-block;
  border-radius: 0;
  /* Use width instead of flex for more precise control */
}

.vote-distribution__bar:first-child {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.vote-distribution__bar:last-child {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.vote-distribution__bar:first-child:last-child {
  border-radius: 5px;
}

/* Specific styles for each bar type */
.vote-distribution__bar--positive {
  background-color: rgba(0, 206, 122, 0.8);
}

.vote-distribution__bar--neutral {
  background-color: rgba(255, 189, 63, 0.8);
}

.vote-distribution__bar--negative {
  background-color: rgba(255, 104, 116, 0.8);
}

/* Mobile specific styles for vote visualization */
@media (max-width: 767px) {
  .vote-visualization {
    height: 14px; /* Slightly taller on mobile */
  }
  
  .vote-distribution {
    height: 14px; /* Slightly taller on mobile */
  }
  
  .rating-bar-container {
    --rating-bar-thickness: 14px;
    --rating-bar-hit-padding: 6px;
  }
}

/* Vote bucket filter styles */
.vote-bucket-filter {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border);
}

.vote-bucket-filter__label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.vote-bucket-filter__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.vote-bucket-label {
  position: relative;
  padding-left: 8px;
  border-left-width: 3px;
  border-left-style: solid;
  margin-left: -3px;
}

.vote-bucket-label--positive {
  border-left-color: #00ce7a;
}

.vote-bucket-label--neutral {
  border-left-color: #ffbd3f;
}

.vote-bucket-label--negative {
  border-left-color: #ff6874;
}

/* User vote indicator */
.user-vote-indicator {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.user-vote-indicator__score {
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: var(--text);
}

.user-vote-indicator__score--positive {
  background-color: rgba(0, 206, 122, 0.2);
}

.user-vote-indicator__score--neutral {
  background-color: rgba(255, 189, 63, 0.2);
}

.user-vote-indicator__score--negative {
  background-color: rgba(255, 104, 116, 0.2);
}

/* Vote picker container */
.vote-picker-container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.vote-picker-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Vote visualization container */
.vote-visualization {
  position: relative;
  height: 10px;
  margin-top: 0.5rem;
}

.vote-display {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 1;
  /* Simplified transition */
  transition: opacity 0.15s ease;
}

.vote-display.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.flag-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 380px));
  gap: 1rem;
}

@media (max-width: 768px) {
  .flag-row {
    grid-template-columns: 1fr;
  }

  .flag-card__actions {
    justify-content: flex-end;
  }
}

.flag-card {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.flag-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.flag-card__description {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.flag-card__interaction {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flag-card__visualization {
  flex: 1 1 60%;
  min-width: 160px;
}

.flag-card__no-votes {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0.25rem 0;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  width: 100%;
}

.flag-card__votes {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.flag-card__actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  flex: 0 0 auto;
  align-items: center;
}

.flag-card__actions button {
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.15s ease;
  font-size: 1rem;
}

.flag-card__actions button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.flag-card__actions button.is-active-positive {
  border-color: rgba(61, 213, 152, 0.5);
  background: rgba(61, 213, 152, 0.15);
  color: #3dd598;
}

.flag-card__actions button.is-active-negative {
  border-color: rgba(255, 107, 122, 0.5);
  background: rgba(255, 107, 122, 0.15);
  color: #ff6b7a;
}

.platform-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.6rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.platform-section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.platform-section__title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.platform-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.platform-section__name-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.platform-section__name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
}

.platform-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.platform-section__display-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.platform-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 0.35rem;
}

.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-card {
  padding: 1.1rem 1.3rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.review-card__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.review-card__meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.review-card__actions {
  display: flex;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.account-card {
  padding: 1.3rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0 1rem;
  flex-wrap: wrap;
}

.pagination__info {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pagination__controls {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.user-dropdown {
  position: relative;
}

.user-dropdown__trigger {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: opacity var(--transition);
}

.user-dropdown__trigger:hover {
  opacity: 0.8;
}

.user-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  min-width: 240px;
  padding: 0.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--panel-strong);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.user-dropdown__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
}

.user-dropdown__info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.user-dropdown__info strong {
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-dropdown__info span {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-dropdown__divider {
  height: 1px;
  background: var(--border);
  margin: 0.25rem 0;
}

.user-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  transition: background var(--transition);
  cursor: pointer;
  width: 100%;
}

.user-dropdown__item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.user-dropdown__item i {
  font-size: 0.95rem;
  width: 1.25rem;
  text-align: center;
  color: var(--text-muted);
}

.user-dropdown__item span {
  font-size: 0.95rem;
}
