.users-root {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 16px 60px;
}

.hint {
  color: var(--text-dim);
  font-size: 13px;
}

.denied {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
}

.denied h2 {
  color: var(--text);
  margin-bottom: 8px;
}

.user-count {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0 0 16px;
}

.user-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-link {
  flex: 1;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-link:hover {
  color: var(--accent-2);
  text-decoration: underline;
}

.user-counts {
  font-size: 12px;
  color: var(--text-dim);
  flex-shrink: 0;
}

.you-tag {
  color: var(--text-dim);
  font-size: 11px;
}

/* Detail view */
.back-link {
  display: inline-block;
  margin-bottom: 16px;
}

.detail-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.detail-heading h2 {
  margin: 0;
  font-size: 20px;
}

.detail-section {
  margin-bottom: 28px;
}

.detail-section h3 {
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--text-dim);
}

.detail-pin-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-pin-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
}

.detail-pin-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.detail-pin-thumb-empty {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--bg);
  flex-shrink: 0;
}

.map-pin-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}

.map-pin-top {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

.pin-card-reviews {
  width: 100%;
}

.pin-card-reviews .review-form {
  max-width: 480px;
}

.mini-map {
  width: 100%;
  max-width: 460px;
  height: 320px;
  flex: 1 1 320px;
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.map-pin-card .detail-pin-info {
  flex: 1 1 180px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-pin-card .detail-pin-title {
  font-size: 17px;
  white-space: normal;
}

.map-pin-card .detail-pin-sub {
  font-size: 12.5px;
}

.map-pin-card .detail-pin-actions {
  margin-top: auto;
}

.map-pin-card .popup-img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  background: var(--bg);
  border-radius: 6px;
}

.map-pin-card .popup-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  border: none;
}

.map-pin-card .popup-desc {
  font-size: 13px;
  white-space: pre-wrap;
}

.detail-pin-info {
  flex: 1;
  min-width: 0;
}

.detail-pin-title {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-pin-sub {
  font-size: 11px;
  color: var(--text-dim);
}

.rejection-reason {
  font-size: 12px;
  background: rgba(255, 93, 143, 0.1);
  border: 1px solid var(--accent);
  color: var(--text);
  border-radius: 6px;
  padding: 6px 8px;
  margin-top: 4px;
}

.rejection-reason strong {
  color: var(--accent);
}

.detail-pin-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.detail-pin-actions .btn {
  padding: 5px 9px;
  font-size: 11px;
}

.btn-approve {
  background: #2a9d5c;
  color: #fff;
  border: none;
  font-weight: 600;
}

.btn-approve:hover {
  background: #33b56a;
}

.btn-reject {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-reject:hover {
  background: rgba(255, 93, 143, 0.12);
}
