/* Tier List Styles */
.tier-list-container {
  max-height: 70vh;
  overflow-y: auto;
}

/* Tier Row Styles */
.tier-row {
  min-height: 140px;
  border: 2px solid;
  border-radius: var(--tblr-border-radius-lg);
  transition: all 0.2s ease;
}

/* Tier Score Colors and Backgrounds */
.tier-score-10 {
  border-color: #198754;
  background: linear-gradient(135deg, rgba(25, 135, 84, 0.15), rgba(25, 135, 84, 0.05));
}

.tier-score-9 {
  border-color: #20a15a;
  background: linear-gradient(135deg, rgba(32, 161, 90, 0.15), rgba(32, 161, 90, 0.05));
}

.tier-score-8 {
  border-color: #47a8d8;
  background: linear-gradient(135deg, rgba(71, 168, 216, 0.15), rgba(71, 168, 216, 0.05));
}

.tier-score-7 {
  border-color: #0d6efd;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.15), rgba(13, 110, 253, 0.05));
}

.tier-score-6 {
  border-color: #6c9bd1;
  background: linear-gradient(135deg, rgba(108, 155, 209, 0.15), rgba(108, 155, 209, 0.05));
}

.tier-score-5 {
  border-color: #fd7e14;
  background: linear-gradient(135deg, rgba(253, 126, 20, 0.15), rgba(253, 126, 20, 0.05));
}

.tier-score-4 {
  border-color: #e8743a;
  background: linear-gradient(135deg, rgba(232, 116, 58, 0.15), rgba(232, 116, 58, 0.05));
}

.tier-score-3 {
  border-color: #e86a5c;
  background: linear-gradient(135deg, rgba(232, 106, 92, 0.15), rgba(232, 106, 92, 0.05));
}

.tier-score-2 {
  border-color: #e85d5d;
  background: linear-gradient(135deg, rgba(232, 93, 93, 0.15), rgba(232, 93, 93, 0.05));
}

.tier-score-1 {
  border-color: #dc3545;
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.15), rgba(220, 53, 69, 0.05));
}

/* Tier Label Styles */
.tier-label {
  width: 100px;
  height: 120px;
  margin: 10px;
  border-radius: var(--tblr-border-radius-lg);
  font-weight: bold;
  font-size: 1.8rem;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.tier-score-10 .tier-label {
  background: #198754;
}

.tier-score-9 .tier-label {
  background: #20a15a;
}

.tier-score-8 .tier-label {
  background: #47a8d8;
}

.tier-score-7 .tier-label {
  background: #0d6efd;
}

.tier-score-6 .tier-label {
  background: #6c9bd1;
}

.tier-score-5 .tier-label {
  background: #fd7e14;
}

.tier-score-4 .tier-label {
  background: #e8743a;
}

.tier-score-3 .tier-label {
  background: #e86a5c;
}

.tier-score-2 .tier-label {
  background: #e85d5d;
}

.tier-score-1 .tier-label {
  background: #dc3545;
}

/* Media Item Styles */
.tier-poster {
  width: 90px;
  height: 135px;
  object-fit: cover;
  border-radius: var(--tblr-border-radius);
  box-shadow: var(--tblr-box-shadow);
  transition: all 0.3s ease;
}

.tier-poster:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: var(--tblr-box-shadow-lg);
}

.tier-poster-placeholder {
  width: 90px;
  height: 135px;
  border-radius: var(--tblr-border-radius);
  box-shadow: var(--tblr-box-shadow);
}

.tier-title {
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.75rem;
}

.tier-empty {
  min-height: 120px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tier-label {
    width: 80px;
    height: 100px;
    font-size: 1.5rem;
  }
  
  .tier-poster,
  .tier-poster-placeholder {
    width: 75px;
    height: 112px;
  }
  
  .tier-title {
    max-width: 75px;
  }
  
}
