.character-list {
  margin-top: 2rem;
}

.character-entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: center;
}

.character-entry:nth-child(even) {
  direction: rtl;
}

.character-entry:nth-child(even) > * {
  direction: ltr;
}

.character-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border: 3px solid #8b7355;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #e8dcc8 0%, #d4c4a8 100%);
}

.character-image.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #8b7355;
  opacity: 0.5;
  user-select: none;
}

.character-info {
  padding: 1rem;
}

.character-name {
  font-family: "IM Fell English SC", "IM Fell English", Georgia, serif;
  font-size: 1.8rem;
  color: #3a1e0e;
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #8b7355;
  letter-spacing: 0.05em;
}

.character-details {
  margin-bottom: 1rem;
}

.character-detail-row {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #4a3827;
}

.character-detail-label {
  font-weight: bold;
  color: #3a1e0e;
}

.character-description {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #d4c4a8;
  font-size: 1rem;
  line-height: 1.7;
  color: #4a3827;
  white-space: pre-line;
  text-align: justify;
  hyphens: auto;
}

.character-description-label {
  font-weight: bold;
  color: #3a1e0e;
  margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .character-entry {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .character-entry:nth-child(even) {
    direction: ltr;
  }

  .character-name {
    font-size: 1.5rem;
  }
}

.character-entry > div:first-child {
  position: relative;
}

.character-status-marker {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 80px;
  height: 80px;
  transform: rotate(-15deg);
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.character-status-marker img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive adjustments for marker */
@media (max-width: 768px) {
  .character-status-marker {
    width: 60px;
    height: 60px;
    top: -6px;
    left: -6px;
  }
}

@media (max-width: 480px) {
  .character-status-marker {
    width: 50px;
    height: 50px;
    top: -5px;
    left: -5px;
  }
}