.prisoner-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 12px;
  transition: border-color 0.3s;
}

.prisoner-card:hover {
  border-color: var(--concrete-grey);
}

.prisoner-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rust-orange);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.prisoner-name .badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  color: var(--text-dim);
  background: var(--bg-elevated);
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

.statement-list {
  list-style: none;
  padding: 0;
}

.statement-list li {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-dim);
  padding: 6px 0;
  border-bottom: 1px solid var(--grid-line);
  line-height: 1.5;
  position: relative;
  padding-left: 16px;
}

.statement-list li:last-child {
  border-bottom: none;
}

.statement-list li::before {
  content: '\203A';
  position: absolute;
  left: 0;
  color: var(--concrete-grey);
}

.role-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.role-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
}

.role-prisoner-name {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rust-orange);
  min-width: 120px;
}

.role-select {
  flex: 1;
  max-width: 200px;
  padding: 8px 12px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  color: var(--text-primary);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239a9aaa' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
}

.role-select:focus {
  outline: none;
  border-color: var(--rust-orange);
}

.role-select option {
  background: var(--bg-deep);
  color: var(--text-primary);
}

.reveal-card {
  background: rgba(48, 204, 96, 0.05);
  border-color: rgba(48, 204, 96, 0.3);
}

.reveal-card .prisoner-name {
  color: var(--success-green);
}

@media (max-width: 480px) {
  .role-row {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .role-select {
    max-width: none;
  }
}
