.photoField {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-radius: 14px;
  border: 2px dashed var(--border);
  padding: 0.75rem;
  transition: border-color 150ms, background 150ms;
  background: transparent;
}

.photoField.dragOver {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.photoList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .photoList {
    grid-template-columns: repeat(5, 1fr);
  }
}

.photoItem {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel-warm);
}

.photoItem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photoRemove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.photoAdd {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 2px dashed var(--border);
  background: var(--panel-warm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 1.4rem;
  transition: border-color 120ms, color 120ms;
}

.photoAdd:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.photoField.dragOver .photoAdd {
  border-color: var(--accent);
  color: var(--accent);
}

.plusIcon {
  line-height: 1;
}

.photoAddLabel {
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

.dropHint {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  padding-bottom: 0.1rem;
}

.photoField.dragOver .dropHint {
  color: var(--accent-strong);
  font-weight: 700;
}
