/* starter-lists.css — gallery modal for curated starter armies + random generator. */

.starter-modal {
  max-width: 960px;
  width: 100%;
}

.starter-modal .modal-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.starter-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.starter-toolbar-left {
  display: flex;
  flex: 1;
  min-width: 220px;
}

.starter-search {
  flex: 1;
  padding: 8px 12px;
  border-radius: var(--radius-md, 6px);
  border: 1px solid var(--border-light, #333);
  background: var(--panel-bg-2, #1a1a1a);
  color: var(--text, #eee);
  font-size: 13px;
  outline: none;
}

.starter-search:focus {
  border-color: var(--accent);
}

.starter-btn-surprise {
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 8px 14px;
}

.starter-empty {
  padding: 36px 20px;
  text-align: center;
  color: var(--text-muted, #999);
  border: 1px dashed var(--border-light, #333);
  border-radius: var(--radius-md, 6px);
}

.starter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 900px) {
  .starter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .starter-grid { grid-template-columns: 1fr; }
}

.starter-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 12px 12px 12px 16px;
  background: var(--panel-bg-2, #1a1a1a);
  border: 1px solid var(--border-light, #333);
  border-radius: var(--radius-md, 6px);
  min-height: 160px;
  transition: border-color 0.15s, transform 0.1s;
}

.starter-card:hover {
  border-color: var(--text-muted, #888);
}

.starter-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-top-left-radius: var(--radius-md, 6px);
  border-bottom-left-radius: var(--radius-md, 6px);
  background: var(--starter-accent, #666);
}

.starter-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.starter-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text, #eee);
  line-height: 1.3;
}

.starter-card-pill {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  background: var(--starter-accent, #666);
  color: #111;
  white-space: nowrap;
}

.starter-card-faction {
  font-size: 12px;
  color: var(--text-muted, #aaa);
  margin-bottom: 6px;
}

.starter-card-detachment {
  font-size: 11px;
  color: var(--text-muted, #888);
  font-style: italic;
  margin-bottom: 6px;
}

.starter-card-desc {
  font-size: 12px;
  color: var(--text, #ccc);
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1;
}

.starter-card-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

.starter-card-load {
  flex: 1;
}

.starter-card.disabled {
  opacity: 0.55;
}

.starter-card.disabled .starter-card-load {
  cursor: not-allowed;
}
